From ddf4714fb8069c86934e93383fcd5285cf700e11 Mon Sep 17 00:00:00 2001 From: Jianping Chen Date: Fri, 18 Jun 2021 13:54:27 -0700 Subject: [PATCH] [Communication]: Always use x-ms-date for Hmac (#15807) * Always use x-ms-date for Hmac * Try to fix phone number tests * Still another error in phone number tests * Update phoneNumber session records * Update phone numbers node sessions * Manually fix node record sessions for phone numbers * Update missed session files Co-authored-by: JP Chen --- .../communicationAccessKeyCredentialPolicy.ts | 2 +- ...communicationIdentityClient.mocked.spec.ts | 2 +- ...ding_can_get_a_purchased_phone_number.json | 12 +- ...ding_errors_if_phone_number_not_found.json | 12 +- ...ding_can_get_a_purchased_phone_number.json | 20 +- ...ding_errors_if_phone_number_not_found.json | 20 +- ..._can_list_all_purchased_phone_numbers.json | 12 +- ..._can_list_all_purchased_phone_numbers.json | 20 +- ...n_purchase_and_release_a_phone_number.json | 228 +++++++--------- ...n_purchase_and_release_a_phone_number.json | 249 ++++++++---------- ...r_1_available_phone_number_by_default.json | 40 +-- ...ding_throws_on_invalid_search_request.json | 10 +- ...r_1_available_phone_number_by_default.json | 48 ++-- ...ding_throws_on_invalid_search_request.json | 18 +- ...n_update_a_phone_numbers_capabilities.json | 93 +++---- ...e_throws_when_phone_number_isnt_owned.json | 14 +- ...n_update_a_phone_numbers_capabilities.json | 99 +++---- ...e_throws_when_phone_number_isnt_owned.json | 20 +- ...ording_can_get_a_purchased_phone_number.js | 12 +- ...ording_errors_if_phone_number_not_found.js | 12 +- ...ording_can_get_a_purchased_phone_number.js | 40 +-- ...ording_errors_if_phone_number_not_found.js | 40 +-- ...ng_can_list_all_purchased_phone_numbers.js | 12 +- ...ng_can_list_all_purchased_phone_numbers.js | 46 ++-- ...can_purchase_and_release_a_phone_number.js | 248 +++++++---------- ...can_purchase_and_release_a_phone_number.js | 232 ++++++++-------- ...for_1_available_phone_number_by_default.js | 40 +-- ...ording_throws_on_invalid_search_request.js | 10 +- ...for_1_available_phone_number_by_default.js | 72 ++--- ...ording_throws_on_invalid_search_request.js | 38 +-- ...can_update_a_phone_numbers_capabilities.js | 70 ++--- ...ate_throws_when_phone_number_isnt_owned.js | 18 +- ...can_update_a_phone_numbers_capabilities.js | 120 +++++---- ...ate_throws_when_phone_number_isnt_owned.js | 50 ++-- .../test/internal/headers.spec.ts | 2 +- .../test/public/get.spec.ts | 7 +- .../test/public/smsClient.mocked.spec.ts | 2 +- 37 files changed, 931 insertions(+), 1059 deletions(-) diff --git a/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts b/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts index 502017abec82..1e28dae030b0 100644 --- a/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts +++ b/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts @@ -58,7 +58,7 @@ class CommunicationAccessKeyCredentialPolicy extends BaseRequestPolicy { const verb = webResource.method.toUpperCase(); const utcNow = new Date().toUTCString(); const contentHash = await shaHash(webResource.body || ""); - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; const signedHeaders = `${dateHeader};host;x-ms-content-sha256`; const url = URLBuilder.parse(webResource.url); diff --git a/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts b/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts index a83e1412484d..4817709b686d 100644 --- a/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts +++ b/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts @@ -13,7 +13,7 @@ import { TestCommunicationIdentityClient } from "./utils/testCommunicationIdenti import { exchangeTeamsTokenHttpClient, getTokenHttpClient } from "./utils/mockHttpClients"; describe("CommunicationIdentityClient [Mocked]", () => { - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; const user: CommunicationUserIdentifier = { communicationUserId: "ACS_ID" }; afterEach(() => { diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json index 46ae9f72f3a4..eed58ef6f638 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json @@ -8,17 +8,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:17 GMT", - "ms-cv": "6ChZTTXvHEeRtFNpl7OP3w.0", + "date": "Fri, 18 Jun 2021 16:38:55 GMT", + "ms-cv": "R4GWZrAg1UCUw0Vf0xqNBw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0nFy2YAAAAAAGsRbCOzR3R5TAhHzDcrp5WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0H8zMYAAAAADvV2KoWrgAR5NAw11afSD9WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1074ms" + "x-processing-time": "1105ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9b48c99747b8d694d1693146c9f46244" + "hash": "6ae4c43f2e4aa30856ac043ba5656ee5" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json index 292b25d5e716..7095aa78f56a 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json @@ -8,17 +8,17 @@ }, "requestBody": null, "status": 404, - "response": "{\"error\":{\"code\":\"PhoneNumberNotFound\",\"message\":\"The specified phone number +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", + "response": "{\"error\":{\"code\":\"NotFound\",\"message\":\"Input phoneNumber +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:13:18 GMT", - "ms-cv": "2r+SvqDDbEi2+zhSjnrAWw.0", + "date": "Fri, 18 Jun 2021 16:38:56 GMT", + "ms-cv": "9bMvqBAnQkejBpqaGzO5Sw.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0nVy2YAAAAAB1mBqGyi+VT6YBwebKoRwJWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0IMzMYAAAAAAysZHi4x8YR63Eg1oivYSlWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "952ms" + "x-processing-time": "375ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "90e064cb005516c2fa1918bdcded2120" + "hash": "6f59980391ba29cbfe24ed7a38b9500d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json index c0f4b523411d..25096db9b3df 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:10 GMT", + "date": "Fri, 18 Jun 2021 16:38:52 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -32,17 +32,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:15 GMT", - "ms-cv": "UoiZEntyqU+5422iYmwaJw.0", + "date": "Fri, 18 Jun 2021 16:38:53 GMT", + "ms-cv": "X7KoivmRI0ORvOvQiRe5Yw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0lly2YAAAAACjlj+c38MrR56259OJBCz9WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0HczMYAAAAADurcVbQQZMT6IQ1w5A9EM3WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "4870ms" + "x-processing-time": "1050ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9b48c99747b8d694d1693146c9f46244" + "hash": "6ae4c43f2e4aa30856ac043ba5656ee5" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json index 10b783aa51e1..1bf17e39b33d 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:15 GMT", + "date": "Fri, 18 Jun 2021 16:38:54 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -32,17 +32,17 @@ }, "requestBody": null, "status": 404, - "response": "{\"error\":{\"code\":\"PhoneNumberNotFound\",\"message\":\"The specified phone number +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", + "response": "{\"error\":{\"code\":\"NotFound\",\"message\":\"Input phoneNumber +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:13:16 GMT", - "ms-cv": "dry4h3yhHkSyYFJ+91SzcQ.0", + "date": "Fri, 18 Jun 2021 16:38:54 GMT", + "ms-cv": "RJENxzbm60KRcH6zKkveOQ.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0nFy2YAAAAACWQNDhSRKpSrTiqZ4jEkq5WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0HszMYAAAAABTQe7SBlVDQrRXkRelezQPWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "452ms" + "x-processing-time": "343ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "90e064cb005516c2fa1918bdcded2120" + "hash": "6f59980391ba29cbfe24ed7a38b9500d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json index 9c80c0277f1a..f42666e8f8c0 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json @@ -9,17 +9,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", + "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:22 GMT", - "ms-cv": "UTybx4M+kU60+C+v6I4S8A.0", + "date": "Fri, 18 Jun 2021 16:38:59 GMT", + "ms-cv": "ev0eI8vIb02Mw9Bk1YS5Wg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0oFy2YAAAAADZn/nxyhIKRKhGg11jftIDWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0IszMYAAAAABZJmgvc8ANT4lgye/4RsscWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1394ms" + "x-processing-time": "1582ms" } } ], @@ -27,5 +27,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b5b5bc3aa53df9cf7b960ec1c7c85595" + "hash": "eca17e433a83b791fc096978816d8e48" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json index c603d598e8bd..a3c0e27c1d7f 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:18 GMT", + "date": "Fri, 18 Jun 2021 16:38:56 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -33,17 +33,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", + "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:20 GMT", - "ms-cv": "/9cT9XOY6k6orVd9bq4o4A.0", + "date": "Fri, 18 Jun 2021 16:38:57 GMT", + "ms-cv": "gro5f7D8/kKMSt1bnqv7Kw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0nly2YAAAAADt4S/YqLxXQJLFzTP4wym1WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0IczMYAAAAAC5ABiSWvh6RqeE1fy7j4F8WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1837ms" + "x-processing-time": "1427ms" } } ], @@ -51,5 +51,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b5b5bc3aa53df9cf7b960ec1c7c85595" + "hash": "eca17e433a83b791fc096978816d8e48" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json index 4aecd1f27551..f7a084fb8859 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json @@ -13,17 +13,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:17 GMT", + "date": "Fri, 18 Jun 2021 16:39:53 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "x4AjC3qOhEWieMXVN5h0Ww.0", + "ms-cv": "57s/f5hy40anKMY/Gvb1Qw.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "02Fy2YAAAAACA3heNf19pQaODAAg681IRWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0V8zMYAAAAABseXURYwRfS5FRoa1Bhg5jWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2018ms" + "x-processing-time": "1740ms" } }, { @@ -34,19 +34,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:18 GMT", + "date": "Fri, 18 Jun 2021 16:39:54 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "WTYd7qwOL0y84VxxPv4GEw.0", + "ms-cv": "gErObopvEUWXV59PpEoaNg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "02ly2YAAAAABHufyAKCdJS7S/+O0AaFacWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0WczMYAAAAAA0u6Og8d2LRphi7e0bdmrEWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "356ms" + "x-processing-time": "628ms" } }, { @@ -57,19 +57,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:20 GMT", + "date": "Fri, 18 Jun 2021 16:39:56 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "wrcTacu1gkSUyJqQZ70agQ.0", + "ms-cv": "56hyq7kfTEq3db0TaI8nxw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "03Fy2YAAAAAB2X5ELZPfDQIwIRTL9nSQ4WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0XMzMYAAAAABAqO0qMtdTRJCcuMrhZJVSWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "331ms" + "x-processing-time": "367ms" } }, { @@ -80,17 +80,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:30:20.5719924+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:55:55.1811708+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:23 GMT", - "ms-cv": "xrys6b8RcEOgkkTHJrd6bg.0", + "date": "Fri, 18 Jun 2021 16:39:59 GMT", + "ms-cv": "r8OA3p+8zEOjP4bSG8EHtA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "031y2YAAAAABC9o/zvAvuQodaE9njVYnpWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0XszMYAAAAABqD1AX/+JzQpZG/q3yIZWwWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "756ms" + "x-processing-time": "885ms" } }, { @@ -106,16 +106,16 @@ "access-control-expose-headers": "Operation-Location,operation-id,purchase-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:26 GMT", - "ms-cv": "UpdtTM5eNkKqjbHhI0YIfQ.0", + "date": "Fri, 18 Jun 2021 16:40:03 GMT", + "ms-cv": "1CDST4G+T0GSJj0apgWmHg.0", "operation-id": "purchase_sanitized", "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07", "purchase-id": "sanitized", "request-context": "appId=", "status": "202", - "x-azure-ref": "04ly2YAAAAACgoloGOD6fTLCUxevsMGD+WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0YczMYAAAAADtUqa7DCvJRq+d+tHcTDTFWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1671ms" + "x-processing-time": "2178ms" } }, { @@ -126,17 +126,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:27 GMT", - "ms-cv": "N4/RXFwg7EK9/O2JUVJC+Q.0", + "date": "Fri, 18 Jun 2021 16:40:04 GMT", + "ms-cv": "H5s/w7ueyEqZ+cZT8LMMLQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "041y2YAAAAABxoOPdl8swRrOLP5AfhYflWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0Y8zMYAAAAABm+PIqHj77QpTr4fqXyycDWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "335ms" + "x-processing-time": "364ms" } }, { @@ -147,17 +147,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:29 GMT", - "ms-cv": "hTYqXfkDA06xv1GB7OSalw.0", + "date": "Fri, 18 Jun 2021 16:40:06 GMT", + "ms-cv": "MJ1LCbWxBU6Kw+9z4qXKsg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "05ly2YAAAAADoU5BMbhgKTaZe+785ko3BWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0ZszMYAAAAACpmThvAKq9RYgNK48ohX7gWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "337ms" + "x-processing-time": "416ms" } }, { @@ -168,17 +168,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:32 GMT", - "ms-cv": "K4TT7n5rlEyf5Gzy4ynxEA.0", + "date": "Fri, 18 Jun 2021 16:40:09 GMT", + "ms-cv": "jU0AE7k1OUO4jmtTc3hGlQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "06Fy2YAAAAACZNLYun50aSL3ctCZWzf2cWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0aMzMYAAAAAAuYBF5YTKARLX+0SzKKkk9WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "336ms" + "x-processing-time": "615ms" } }, { @@ -189,17 +189,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:34 GMT", - "ms-cv": "eecySp2cZEu/zlH3/EFjKw.0", + "date": "Fri, 18 Jun 2021 16:40:11 GMT", + "ms-cv": "iKzxKh7ywE6rlYMC/LuvAQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "061y2YAAAAADXJcnCxqmjQrPKUde9f1b2WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0a8zMYAAAAACGT1mOMP5GSIFT6C0g3L+nWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "351ms" + "x-processing-time": "384ms" } }, { @@ -210,17 +210,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:37 GMT", - "ms-cv": "4nbPV4KJgEqnyqxPw+bgKQ.0", + "date": "Fri, 18 Jun 2021 16:40:14 GMT", + "ms-cv": "mKQuQSF6KEeiZTiCM/2hJw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "07Vy2YAAAAAD6r3sZmi2pR7lja9mjrD5qWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0bczMYAAAAAAIZw5rlCDeQIKcvjMLSr7WWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "335ms" + "x-processing-time": "388ms" } }, { @@ -231,17 +231,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:40 GMT", - "ms-cv": "aS94SZh1P0SmIRpxpVy65Q.0", + "date": "Fri, 18 Jun 2021 16:40:16 GMT", + "ms-cv": "h4Y6zQQAyEGGPAyu6dAJgQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "071y2YAAAAADJbgSAxCu2R7z7+Lus0qUFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0cMzMYAAAAAAfrusJvEzfQYKLqJedlS3QWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "611ms" + "x-processing-time": "680ms" } }, { @@ -252,17 +252,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:42 GMT", - "ms-cv": "c8DfVMH7B0a8rdaCAxdbRA.0", + "date": "Fri, 18 Jun 2021 16:40:19 GMT", + "ms-cv": "oSqwLQQZt0WKjsXkSjyAgg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "08ly2YAAAAAChdSECKB5dQLw+j8G5GZYZWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0c8zMYAAAAAC0Im3BYXAxQrFIjItzP6pnWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "383ms" + "x-processing-time": "543ms" } }, { @@ -273,38 +273,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:45 GMT", - "ms-cv": "WwI+TTXJaka5kT4KJPKOWA.0", + "date": "Fri, 18 Jun 2021 16:40:22 GMT", + "ms-cv": "twqfxXio60yo/ZkN5gkjPA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "09Fy2YAAAAAC2J4m4ApT5QYK6xuqqsJECWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0dczMYAAAAAC7CMIxXGpCTY0m33BnvvCrWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "346ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:48 GMT", - "ms-cv": "Mw7veKvC1UGhawQf9GlBTg.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "091y2YAAAAABd5a7Am3CITo8/+g2Ex+xeWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1367ms" + "x-processing-time": "634ms" } }, { @@ -315,17 +294,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-01T16:14:44.4901882+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-18T16:40:19.3249552+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:53 GMT", - "ms-cv": "0CrfcOCua0uPO1qZz6ZovA.0", + "date": "Fri, 18 Jun 2021 16:40:28 GMT", + "ms-cv": "FTiIZg9yREObXl9yQsf/Rg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0/Fy2YAAAAAAyhVx02lbQS4cjmCe1YqRlWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0eszMYAAAAABRXW9KfNf4RYJ48hh3sX/6WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1093ms" + "x-processing-time": "2385ms" } }, { @@ -341,37 +320,16 @@ "access-control-expose-headers": "Operation-Location,operation-id,release-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:54 GMT", - "ms-cv": "1eL3kmnVeUqDWwcGUQAJlQ.0", + "date": "Fri, 18 Jun 2021 16:40:29 GMT", + "ms-cv": "68LsZHlN2ki23H22wLDXtw.0", "operation-id": "release_sanitized", "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2021-03-07", "release-id": "sanitized", "request-context": "appId=", "status": "202", - "x-azure-ref": "0/Vy2YAAAAACWEYkqvHDcQ4rXKmuj574+WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1065ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:55 GMT", - "ms-cv": "kb0a/FAJeUWSylnqHelb7Q.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "0/ly2YAAAAAC0kNrAMIxhS7ghe4Z8O8yEWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0fMzMYAAAAAAxQ4bzDZipTYKAyvQxiXr4WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "397ms" + "x-processing-time": "1329ms" } }, { @@ -382,17 +340,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:57 GMT", - "ms-cv": "Vi6L/YHmzU2UGl9mVInfsg.0", + "date": "Fri, 18 Jun 2021 16:40:30 GMT", + "ms-cv": "w8/68MBd2EiZyWWw5Azc3A.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0AV22YAAAAADPEjlU9H//SKIxzdyhGO8QWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0fszMYAAAAAD92dxiY2KmS4uNPY39WI82WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "283ms" + "x-processing-time": "421ms" } }, { @@ -403,17 +361,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:59 GMT", - "ms-cv": "+pjTHMyKr0KejJ1UtROxdw.0", + "date": "Fri, 18 Jun 2021 16:40:32 GMT", + "ms-cv": "rEaGIDZ0qE6E1+je7QPJAA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0A122YAAAAABPh+Ce1ZV/SpsDfq3eBnDFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0gMzMYAAAAAAa1yS2I1w7QJwx5LEXf5ifWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "286ms" + "x-processing-time": "316ms" } }, { @@ -424,17 +382,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:02 GMT", - "ms-cv": "NcyNORO5gU6c60LFhrWmGQ.0", + "date": "Fri, 18 Jun 2021 16:40:35 GMT", + "ms-cv": "D6Sbrpgr7EC5Lpq+s6MMlg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Bl22YAAAAABzNK8Gty4zSLHYFpeT0zKtWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0g8zMYAAAAAD38WRkFGyNS6rfOWLZAfhXWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "288ms" + "x-processing-time": "348ms" } }, { @@ -445,17 +403,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:04 GMT", - "ms-cv": "IMWiMgFOkE+7c9MKZYnxUA.0", + "date": "Fri, 18 Jun 2021 16:40:37 GMT", + "ms-cv": "aVA3m72hO0+Mwb+jXv+D9Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0CF22YAAAAAClCoAO6e0OT7my2xESnXxJWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0hczMYAAAAADIO5qsadWaSIWQ4T4KkjCgWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "342ms" + "x-processing-time": "307ms" } } ], @@ -463,5 +421,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fa44f3995964677cea8445a9b6dfd114" + "hash": "416927590c0eb89a1bcfcaeaaa937d51" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json index dd14b8e04e8f..6d0db3b9d5bf 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:21 GMT", + "date": "Fri, 18 Jun 2021 16:39:00 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -37,17 +37,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:13:24 GMT", + "date": "Fri, 18 Jun 2021 16:39:01 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "qNhaJikjN0iFJq9cbeA5Tg.0", + "ms-cv": "JsYlaRO4SEmfcsfq2ca3tw.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "0oly2YAAAAACGNOIpKcvHSIZPAmgMfSKeWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0JMzMYAAAAADl4CINcT8MQoe8fgMIE4SlWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2473ms" + "x-processing-time": "1633ms" } }, { @@ -58,19 +58,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:25 GMT", + "date": "Fri, 18 Jun 2021 16:39:02 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "rhNnxJvxsUCnfvG0uprrKQ.0", + "ms-cv": "3/gFcGL3VE+T3vC3eQmuAg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0pFy2YAAAAAB72OTtMyCmQr8dJVV8zY0qWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0JszMYAAAAACH0zIs6VnlR4KKuMnpHy2ZWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "355ms" + "x-processing-time": "349ms" } }, { @@ -81,19 +81,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:27 GMT", + "date": "Fri, 18 Jun 2021 16:39:04 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "MiDnggRx2U6WbmXE6Nl/Gg.0", + "ms-cv": "HLFjkcE5CEexGXGU6bgi+g.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0p1y2YAAAAABpnr/sgZo7Tp01GNyFWAcuWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0KMzMYAAAAAD6NQpBPZ8yTq1GgoKFDgWbWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "332ms" + "x-processing-time": "358ms" } }, { @@ -104,17 +104,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:29:26.6554035+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:55:03.3952323+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:30 GMT", - "ms-cv": "EJmp74VyV0WHh9SGGuru9w.0", + "date": "Fri, 18 Jun 2021 16:39:07 GMT", + "ms-cv": "PJG/XK29UEOCwLImjhKkMQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0qVy2YAAAAABphl/yodM1RqBYoRHSAMT1WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0K8zMYAAAAADa5lZoB+TsSaan+Hu12hZ+WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "662ms" + "x-processing-time": "782ms" } }, { @@ -130,16 +130,16 @@ "access-control-expose-headers": "Operation-Location,operation-id,purchase-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:13:34 GMT", - "ms-cv": "mfeGtczkTEisDpTrJLq2kA.0", + "date": "Fri, 18 Jun 2021 16:39:10 GMT", + "ms-cv": "+ymU6BbRdUmCBEVvSMBuzQ.0", "operation-id": "purchase_sanitized", "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07", "purchase-id": "sanitized", "request-context": "appId=", "status": "202", - "x-azure-ref": "0rFy2YAAAAADYCpihEAOjQK8DDWsrwv90WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0LczMYAAAAAAmug57kVcnSaRjQZkWyc/jWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2654ms" + "x-processing-time": "1594ms" } }, { @@ -150,17 +150,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:35 GMT", - "ms-cv": "SRB33ZT88EybuUSxrN0paA.0", + "date": "Fri, 18 Jun 2021 16:39:11 GMT", + "ms-cv": "dWgwVu5qW0CGpl7BWk+tYg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0r1y2YAAAAACqYJ1VlFMZRoeOUZJDB4bAWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0L8zMYAAAAADl4Lh1gXMiTZhzo4RkE3Q3WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "339ms" + "x-processing-time": "452ms" } }, { @@ -171,17 +171,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:37 GMT", - "ms-cv": "gsmckL4+FEaTNS/jQXbVtw.0", + "date": "Fri, 18 Jun 2021 16:39:13 GMT", + "ms-cv": "FuzKJulbsEmumXvcHokbYQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0sVy2YAAAAAA9YrSL2ymvTK4LYdDFWbfyWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0MszMYAAAAABAnRCK5sfcSbH/SPW1GXKiWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "349ms" + "x-processing-time": "434ms" } }, { @@ -192,17 +192,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:40 GMT", - "ms-cv": "vkZF/2v2jkSWLKJgvV+XSg.0", + "date": "Fri, 18 Jun 2021 16:39:16 GMT", + "ms-cv": "sy0V7yHT902T4DgEv7Pdow.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0s1y2YAAAAAAnv8VW2b3URYNWoJKJ+9WBWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0NMzMYAAAAABmNURB2qdoRKuiM0Wuubr6WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "345ms" + "x-processing-time": "663ms" } }, { @@ -213,17 +213,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:42 GMT", - "ms-cv": "nQ5dYEoJfE6/Y55jY2llXg.0", + "date": "Fri, 18 Jun 2021 16:39:19 GMT", + "ms-cv": "5qU2JujD4kOIYkW1iWY/FA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0tly2YAAAAAC6bYzhrloZRqQHVGYjqALKWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0N8zMYAAAAABVAkr8nTo7RpaIkYZwYVRcWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "328ms" + "x-processing-time": "417ms" } }, { @@ -234,17 +234,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:44 GMT", - "ms-cv": "tuM7P/EQ30Wr3eoCoU1IEg.0", + "date": "Fri, 18 Jun 2021 16:39:21 GMT", + "ms-cv": "klYBj98SvUKPTyNxB7BDkg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0uFy2YAAAAABnmt2Sf+laRJBrRfGdhPCXWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0OczMYAAAAADrHAVeS7+hQLIOrMCXmkKdWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "337ms" + "x-processing-time": "804ms" } }, { @@ -255,17 +255,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:47 GMT", - "ms-cv": "CYmQc/b+ik2o57Ag/LbwMg.0", + "date": "Fri, 18 Jun 2021 16:39:24 GMT", + "ms-cv": "HENZcQRpDEaRHT2g+GdqRQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0u1y2YAAAAAD7pHRVK1ZDRJusGE56XqR9WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0PMzMYAAAAABEXsmpXughQr9qqIETq/C0WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "740ms" + "x-processing-time": "394ms" } }, { @@ -276,17 +276,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:50 GMT", - "ms-cv": "15dekCbT20W4EEgv8t/X5g.0", + "date": "Fri, 18 Jun 2021 16:39:26 GMT", + "ms-cv": "M4Qv46JQaEKPEup5RsyoCQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0vVy2YAAAAADPSPG74mb0SplJQTzP6XfkWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0P8zMYAAAAABC4hfrfOy0R43BU0ii5UoeWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "459ms" + "x-processing-time": "412ms" } }, { @@ -297,105 +297,84 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:52 GMT", - "ms-cv": "62DDEO0rBU2xgTyFR9sYAA.0", + "date": "Fri, 18 Jun 2021 16:39:29 GMT", + "ms-cv": "L6Ns+ZzZ20S3cc/J9jT9Vw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0wFy2YAAAAABDhqKXVAFbTIWycSSYPqP6WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0QczMYAAAAABlut55ZA1jRZfQP/ojMlLvWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "428ms" + "x-processing-time": "693ms" } }, { "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", + "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { "api-version": "2021-03-07" }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-18T16:39:25.8583623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:54 GMT", - "ms-cv": "DQR2zNw2RUehwyG5EII3EQ.0", + "date": "Fri, 18 Jun 2021 16:39:34 GMT", + "ms-cv": "6UVBO64m906Dr+AsvBHh0g.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0wly2YAAAAADaUUN6nsClS4Lo1btlPailWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0RszMYAAAAADVjKrAbW9wQpA/z/b/jwHaWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "343ms" + "x-processing-time": "1250ms" } }, { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", + "method": "DELETE", + "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { "api-version": "2021-03-07" }, "requestBody": null, - "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "status": 202, + "response": "", "responseHeaders": { + "access-control-expose-headers": "Operation-Location,operation-id,release-id", "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:57 GMT", - "ms-cv": "2TUsfo29UE2VyaOuI+7EHA.0", + "content-length": "0", + "date": "Fri, 18 Jun 2021 16:39:36 GMT", + "ms-cv": "rKfdKRXDHEy/Ye1/iNq2ZA.0", + "operation-id": "release_sanitized", + "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2021-03-07", + "release-id": "sanitized", "request-context": "appId=", - "status": "200", - "x-azure-ref": "0xVy2YAAAAAAsESdKjLaORrxkZ7+ld2lfWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "status": "202", + "x-azure-ref": "0R8zMYAAAAACm7AskygTVQ6IHXYGCLx4eWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "343ms" + "x-processing-time": "1437ms" } }, { "method": "GET", - "url": "https://endpoint/phoneNumbers/%2B14155550100", + "url": "https://endpoint/phoneNumbers/operations/release_sanitized", "query": { "api-version": "2021-03-07" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-01T16:13:54.2335149+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:02 GMT", - "ms-cv": "Q9RqhRf2rEmU+dp/QMRqkg.0", + "date": "Fri, 18 Jun 2021 16:39:36 GMT", + "ms-cv": "/RFouUS2+kOYiZhO2k+CKw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0yVy2YAAAAAD6JDmd3dE3RZJnwogpX3RyWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1296ms" - } - }, - { - "method": "DELETE", - "url": "https://endpoint/phoneNumbers/%2B14155550100", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 202, - "response": "", - "responseHeaders": { - "access-control-expose-headers": "Operation-Location,operation-id,release-id", - "api-supported-versions": "2021-03-07", - "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:03 GMT", - "ms-cv": "1rK16Wn8xUiAgj2TWrqg8Q.0", - "operation-id": "release_sanitized", - "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2021-03-07", - "release-id": "sanitized", - "request-context": "appId=", - "status": "202", - "x-azure-ref": "0yly2YAAAAABJ1joOrrrDQYtQ6Ykq+eiSWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0SczMYAAAAADF58LrzSzASK7OMGDY2OsEWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1510ms" + "x-processing-time": "378ms" } }, { @@ -406,17 +385,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:04 GMT", - "ms-cv": "lKCfYAkP9EmdMNAZWLHmAA.0", + "date": "Fri, 18 Jun 2021 16:39:40 GMT", + "ms-cv": "6VaISi5veke/E6jpd3YyMg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0zFy2YAAAAADGWtQN0eMMTLQdJmqMC04/WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0S8zMYAAAAAARcbw4zLIkRKuAeAxizAkyWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "622ms" + "x-processing-time": "319ms" } }, { @@ -427,17 +406,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:06 GMT", - "ms-cv": "8rXSKPktu0WO7UNsoBd94A.0", + "date": "Fri, 18 Jun 2021 16:39:42 GMT", + "ms-cv": "Etw/nePLx0eVKisAwn6WHQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0z1y2YAAAAACtivPCBpiiQqqdCx8EbHXiWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0TszMYAAAAACMbP9Kq2SYTr2eP3pBZAgnWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "282ms" + "x-processing-time": "334ms" } }, { @@ -448,17 +427,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:09 GMT", - "ms-cv": "CwQY1En1gkqRQvnUAVs9pw.0", + "date": "Fri, 18 Jun 2021 16:39:44 GMT", + "ms-cv": "ILxK20odD0WMSbEhor7Buw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "00Vy2YAAAAAAZQFr2p96NSLE21P63hI8iWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0UMzMYAAAAACJ2YnuleR4R5V7kcIeAgbnWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "512ms" + "x-processing-time": "333ms" } }, { @@ -469,17 +448,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:11 GMT", - "ms-cv": "giBW71y60UW6Sx28C+jPFQ.0", + "date": "Fri, 18 Jun 2021 16:39:47 GMT", + "ms-cv": "zHHzh1CO+EK65oEpXsLaAg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "01Fy2YAAAAACpspsKYLvjSaJZXS3rTspQWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0U8zMYAAAAAAur+f/DbyuRKcEggsmRPSYWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "332ms" + "x-processing-time": "308ms" } } ], @@ -487,5 +466,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fa44f3995964677cea8445a9b6dfd114" + "hash": "416927590c0eb89a1bcfcaeaaa937d51" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json index cba49d729caf..6bd912c335b1 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json @@ -13,17 +13,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:15:22 GMT", + "date": "Fri, 18 Jun 2021 16:40:55 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "lWRWCoActkCLH3si46Pp4g.0", + "ms-cv": "/rVl2dQlYEWN6rWbpD4dZg.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "0GF22YAAAAABp7tjCyodzTZ/DU2GAAm5sWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0lszMYAAAAAD6DZk5C8dxSY9p8/lzH/lCWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2061ms" + "x-processing-time": "2114ms" } }, { @@ -34,19 +34,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:22.3286246+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:56.0363557+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:22 GMT", + "date": "Fri, 18 Jun 2021 16:40:56 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "Yi3DLbjozE+8BvNx59qQJQ.0", + "ms-cv": "H1VFmar+vkS8wvw2SNQC+Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Gl22YAAAAADYpnA1caGpSppF5PHe2+fAWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0mMzMYAAAAAD3PhFgvWDUS4dabm2PZvB0WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "347ms" + "x-processing-time": "381ms" } }, { @@ -57,19 +57,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:22.3286246+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:56.0363557+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:25 GMT", + "date": "Fri, 18 Jun 2021 16:40:58 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "usyn7yJfYESuB+J9T50+Bw.0", + "ms-cv": "25alJz+EBEWiNh/vQeb96g.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0HV22YAAAAAA7ohcRXRaBSL+KhUN1WSouWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0mszMYAAAAAAYDOsp+QyhT7CHSp8nim/6WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "338ms" + "x-processing-time": "418ms" } }, { @@ -80,17 +80,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:31:24.3085493+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:56:57.5740076+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:27 GMT", - "ms-cv": "xaFHL0q0NE6/DnbED2+7pQ.0", + "date": "Fri, 18 Jun 2021 16:41:01 GMT", + "ms-cv": "bSmbaaFlW0S6eTgonFUysg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0H122YAAAAAC8ml30p6vlRqx785JYD4AmWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0nczMYAAAAADLECAt5/yXSLyp9tRT8VEKWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "884ms" + "x-processing-time": "1039ms" } } ], @@ -98,5 +98,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6fc2d9523d9988e48e74d4517b232cb1" + "hash": "9442c43ae11a0869c2b1a10b96165777" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json index c962153f1b91..890264ff45ee 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json @@ -12,13 +12,13 @@ "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:15:31 GMT", - "ms-cv": "D8mBUIfXZ0OHrP4SXSq/OQ.0", + "date": "Fri, 18 Jun 2021 16:41:05 GMT", + "ms-cv": "6UNU0hmm5EWgilZGg36oEg.0", "request-context": "appId=", "status": "400", - "x-azure-ref": "0Il22YAAAAABTZ31Vei09TqNojP38iXqbWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0oMzMYAAAAAAT+jpuH2jeT7dub0MLmKf8WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1707ms" + "x-processing-time": "1332ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0a8d65017395f38f7d477e7592233ac0" + "hash": "182bac91e121262aabae40506fbaf691" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json index 384c99b73501..dc8322d8571d 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:08 GMT", + "date": "Fri, 18 Jun 2021 16:40:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - EUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -37,17 +37,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:15:10 GMT", + "date": "Fri, 18 Jun 2021 16:40:44 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "Wivt8LoldEaKWkj493TqVA.0", + "ms-cv": "s1OE1j8mokiHpItyl6zlWA.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "0DF22YAAAAAB07+ikZYWmTYgTwQLRU4pqWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0iszMYAAAAAAzzfgmwWw1QpULSO9yxg6zWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1742ms" + "x-processing-time": "2162ms" } }, { @@ -58,19 +58,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:10.3041624+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:44.1498283+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:10 GMT", + "date": "Fri, 18 Jun 2021 16:40:44 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "n7rQjRwJF0KMho+k+xya2w.0", + "ms-cv": "abTNcM4oGE6aQwl3aHra+Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Dl22YAAAAADmJV/WN+riQolnxZsLxecTWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0jMzMYAAAAABFblSs8MXPSYjmURtVlIxvWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "360ms" + "x-processing-time": "364ms" } }, { @@ -81,19 +81,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:10.3041624+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:44.1498283+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:13 GMT", + "date": "Fri, 18 Jun 2021 16:40:46 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "yHiMzbmK20a2dW6FI1EX8g.0", + "ms-cv": "0GWTDBa8nU+qTdfHUajV/w.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0EV22YAAAAAD1u7fvdu04TJQM6hrHqH1VWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0j8zMYAAAAADxJeUF4o4lS6iZpaUCxTzIWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "335ms" + "x-processing-time": "421ms" } }, { @@ -104,17 +104,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:31:12.3600957+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:56:46.1994694+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:16 GMT", - "ms-cv": "Al+eGVH+5EyEP4BhoM2tFQ.0", + "date": "Fri, 18 Jun 2021 16:40:49 GMT", + "ms-cv": "W9Ld6j3tNEmp6sPul6+17Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0E122YAAAAAD1liehfHOnRqbXfApMshLSWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0kczMYAAAAADtiuA9adtnSL+tx0saTZm7WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1762ms" + "x-processing-time": "865ms" } } ], @@ -122,5 +122,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6fc2d9523d9988e48e74d4517b232cb1" + "hash": "9442c43ae11a0869c2b1a10b96165777" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json index 6f91c3fd64bb..ebdcc0489874 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:19 GMT", + "date": "Fri, 18 Jun 2021 16:40:52 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - EUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -36,13 +36,13 @@ "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:15:20 GMT", - "ms-cv": "oHIWgAVztUC7M+1WhM2+1A.0", + "date": "Fri, 18 Jun 2021 16:40:53 GMT", + "ms-cv": "gMwSo0Qh5kCpm5hZPN83hw.0", "request-context": "appId=", "status": "400", - "x-azure-ref": "0F122YAAAAACW4XtHMykAS40QMghTHN3VWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0lMzMYAAAAAAO+8UKIBgVT4yt5q+Wl95IWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1120ms" + "x-processing-time": "1507ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0a8d65017395f38f7d477e7592233ac0" + "hash": "182bac91e121262aabae40506fbaf691" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json index 126053c7fb12..494c174340e4 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json @@ -14,16 +14,16 @@ "api-supported-versions": "2021-03-07", "capabilities-id": "sanitized", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:55 GMT", + "date": "Fri, 18 Jun 2021 16:41:26 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "0jXv0yuGtEmT1eH1/AZ+NQ.0", + "ms-cv": "g7QIT4MTvEaCTIwqy/9kGw.0", "operation-id": "capabilities_sanitized", "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07", "request-context": "appId=", "status": "202", - "x-azure-ref": "0Ol22YAAAAAByS8J5XnGWTLHbkF2I8olZWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0tMzMYAAAAADUA6rQgNKmSKflNjvHwTLfWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1584ms" + "x-processing-time": "1690ms" } }, { @@ -34,19 +34,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:55 GMT", + "date": "Fri, 18 Jun 2021 16:41:26 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "Y1oFbYvXKk6nJdexNK2FwQ.0", + "ms-cv": "rK6mePe6BkWZ25ODJWWaCg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0O122YAAAAAApG+8LoAsaRYeu7dWZpVAHWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0tszMYAAAAAAeZ33w8MDfT46VSHQ0dDBQWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "690ms" + "x-processing-time": "304ms" } }, { @@ -57,19 +57,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:58 GMT", + "date": "Fri, 18 Jun 2021 16:41:29 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "HBojhsVrnkOca0wc0blbew.0", + "ms-cv": "KrmyNeWG/0aFeUSkJSZHxQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Pl22YAAAAAAJ+zc5JDdOQJmetqRODVpuWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0uMzMYAAAAAB7wP0xWw82TIc7VO69C0NGWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "481ms" + "x-processing-time": "337ms" } }, { @@ -80,19 +80,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:00 GMT", + "date": "Fri, 18 Jun 2021 16:41:31 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "0NUF4/igkkuUxZyDV/Amsw.0", + "ms-cv": "M93aXOZk70m978IoP/ZnHQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0QV22YAAAAABGElHhvyuyQKSnDvfMhRhFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0u8zMYAAAAACIq4fMXFeiTpfVgZSk7P+bWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "309ms" + "x-processing-time": "307ms" } }, { @@ -103,19 +103,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:02 GMT", + "date": "Fri, 18 Jun 2021 16:41:33 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "aKHJaesJmEe0fdv2VWjrNQ.0", + "ms-cv": "B/sVkdJsUEW2W2cnLyYXDA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Q122YAAAAADOSj7JEbaUS4rPpv9ME7PtWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0vczMYAAAAAAu3z+5dNlsT4zPb3kwYPkoWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "295ms" + "x-processing-time": "330ms" } }, { @@ -126,42 +126,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:05 GMT", + "date": "Fri, 18 Jun 2021 16:41:36 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "MIxwxCa9CEOwo4zASJ959g.0", + "ms-cv": "V2tmOWicUUec8GWXCc0xUw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0RV22YAAAAABbU8wTKCVIQoFOUjU3/oOMWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0wMzMYAAAAACcJ8pWoFdUTrNUHjq3NcKCWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "334ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/capabilities_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:07 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "/3eK9QRNuEW6c8MJSHnytg.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "0SF22YAAAAACxfCv2IA6qRLx8M4UcVMiWWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "285ms" + "x-processing-time": "678ms" } }, { @@ -172,17 +149,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:11 GMT", - "ms-cv": "LPgeQK18c0ayVIkCek63iA.0", + "date": "Fri, 18 Jun 2021 16:41:40 GMT", + "ms-cv": "qoqNs+bDA02+4hi5lLniKg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Sl22YAAAAAAHs2DK/8pVRI9uIN1cVreEWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0w8zMYAAAAABgXo1pkAM6TrPHA4fkSJhFWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1191ms" + "x-processing-time": "2200ms" } } ], @@ -190,5 +167,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "bc0d3c040f4257989e64826eb468a2d3" + "hash": "b1d336b2900ec126a1a01a0cde95ad4d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json index 24924585d231..0a86c03f8a62 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json @@ -8,17 +8,17 @@ }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 404, - "response": "", + "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", - "content-length": "0", - "date": "Tue, 01 Jun 2021 16:16:14 GMT", - "ms-cv": "CLxQWORZA0S02B6whk9RLA.0", + "content-type": "application/json", + "date": "Fri, 18 Jun 2021 16:41:43 GMT", + "ms-cv": "8+4Hy1+iXkC4kB6Qe2VKtg.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0TV22YAAAAACjKkP8z6SxRLkrVvhRqZnOWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0x8zMYAAAAADfEfTkkMGsSbyOgxzuT2oZWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "284ms" + "x-processing-time": "461ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1b01834067bf928c6bbe8df5701149c4" + "hash": "94c6d18150d845a6914ed056b481f079" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json index f50e26dcd5f0..a4b240259cc3 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:31 GMT", + "date": "Fri, 18 Jun 2021 16:41:06 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,7 +20,7 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -38,16 +38,16 @@ "api-supported-versions": "2021-03-07", "capabilities-id": "sanitized", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:33 GMT", + "date": "Fri, 18 Jun 2021 16:41:07 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "hlvtxDls9UCIES6eZIa+AQ.0", + "ms-cv": "B/FwPMZLq0mk9U9FuoSFGA.0", "operation-id": "capabilities_sanitized", "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07", "request-context": "appId=", "status": "202", - "x-azure-ref": "0JF22YAAAAADU7eshr5RMQLO6NjCIG6yHWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0oszMYAAAAAApOCOXxug5SqxBgwCh2VR0WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2062ms" + "x-processing-time": "1763ms" } }, { @@ -58,42 +58,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:34 GMT", + "date": "Fri, 18 Jun 2021 16:41:07 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "A/4fTVc2Q0Gj0g8NNnP0Ug.0", + "ms-cv": "R0A/iCTJ90qFSR0eaiXTvA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Jl22YAAAAAAVNnFQ1uuWTr1g3JZm8Ou0WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0pMzMYAAAAACTiBonKwPhRIeZ3Wk2vGrvWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "323ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/capabilities_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:36 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "r2PWSZacUESU40CN1q//Uw.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "0KF22YAAAAAAuQXhL5P8lT70UqVH2YQ5DWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "325ms" + "x-processing-time": "306ms" } }, { @@ -104,19 +81,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:38 GMT", + "date": "Fri, 18 Jun 2021 16:41:10 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "yZY+I0kEKUWDQjO7Nyr0FQ.0", + "ms-cv": "adxl2J4nREOzAwC78DZcpg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0K122YAAAAAD5z9wuqaVfRaJC7k4OA3WQWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0pszMYAAAAADxpvqKPpm5Q6G2Ctk4BligWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "374ms" + "x-processing-time": "426ms" } }, { @@ -127,19 +104,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:41 GMT", + "date": "Fri, 18 Jun 2021 16:41:12 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "FFLNcENNMker8F4eZvhK+g.0", + "ms-cv": "ASqKWl2us0COydY85Hy72w.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0LV22YAAAAAB0DYIWWMn4SbAV1LOpbqXyWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0qczMYAAAAADbQc0bjkGEToRogPx8W2IuWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "450ms" + "x-processing-time": "300ms" } }, { @@ -150,19 +127,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:44 GMT", + "date": "Fri, 18 Jun 2021 16:41:15 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "mUn2H6g2tkSgoDJo8Aa7zw.0", + "ms-cv": "LYb6x8VpDUueaZ80DI7PQw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0MF22YAAAAAC+cqm4dfs3TJ1xOCG2LHBFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0q8zMYAAAAAAno3sNc1+nTbLMHkOUXz/7WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1457ms" + "x-processing-time": "323ms" } }, { @@ -173,19 +150,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:47 GMT", + "date": "Fri, 18 Jun 2021 16:41:17 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "58R3VH1sb0q3QLsOwbi5SA.0", + "ms-cv": "qmbQMyUsq0eTqXRHcjUVgg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0M122YAAAAABGnaoMInRFSZXQVWge5H/nWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0rszMYAAAAADUm9CQ6ZaoSrBX1GLM3+GkWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "442ms" + "x-processing-time": "410ms" } }, { @@ -196,17 +173,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:50 GMT", - "ms-cv": "svnTsGxlyEOVTQ9lz+B8Fw.0", + "date": "Fri, 18 Jun 2021 16:41:21 GMT", + "ms-cv": "7v1ieyrUq0q8CJGIjC53Hg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Nl22YAAAAAD0cwUYC+GdSoGhyjkK64ZqWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0sMzMYAAAAACnmJ9NLyfEQ5aIH7sOaDeYWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1333ms" + "x-processing-time": "1256ms" } } ], @@ -214,5 +191,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "bc0d3c040f4257989e64826eb468a2d3" + "hash": "b1d336b2900ec126a1a01a0cde95ad4d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json index 4c99e380cf6f..5681787874ac 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:53 GMT", + "date": "Fri, 18 Jun 2021 16:41:23 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,7 +20,7 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - EUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -32,17 +32,17 @@ }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 404, - "response": "", + "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", - "content-length": "0", - "date": "Tue, 01 Jun 2021 16:15:53 GMT", - "ms-cv": "T0NOysEXYUes/clnSchzuw.0", + "content-type": "application/json", + "date": "Fri, 18 Jun 2021 16:41:24 GMT", + "ms-cv": "BPux1vYFaEyEyvflEmvGdQ.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0OV22YAAAAACn1GqJ/fUFQIjoihsSslFAWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0tMzMYAAAAABb6TsNmY77SKjStG8wAKUZWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "446ms" + "x-processing-time": "481ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1b01834067bf928c6bbe8df5701149c4" + "hash": "94c6d18150d845a6914ed056b481f079" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js index 6a78804982e2..197ecbc74d8b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "8c038731046781a9e29a78b4d4a229af"; +module.exports.hash = "c277fc9e40dbe9b6a340b0fd4b58a391"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'olq7Da4IwEuplq58lOuV1A.0', + 'avMtrDgfgUexccUBmHHr/A.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1236ms', + '1984ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0w1i2YAAAAACwDvYWNgBhR71O/bYG13H6WVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0asvMYAAAAACoUwqyuTBjTrkMNZtKF6tZWVZSMzBFREdFMDQxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:52 GMT' + 'Fri, 18 Jun 2021 16:35:56 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js index a61e9c534da9..442d3eba0820 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "9db468d876f027cff1a56c0b2ccac1a5"; +module.exports.hash = "72d3da66787ce7ec1b5bd2e51979dcaa"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(404, {"error":{"code":"PhoneNumberNotFound","message":"The specified phone number +14155550100 cannot be found.","target":"phonenumber"}}, [ + .reply(404, {"error":{"code":"NotFound","message":"Input phoneNumber +14155550100 cannot be found.","target":"phonenumber"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iHCcarEEpkiclAyzF4xJhg.0', + 'AZ8qSl3bbUOTHzj9Jcll4Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '345ms', + '539ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0xVi2YAAAAAC4ob71ReBlQYzjbDLSxmjbWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0bcvMYAAAAAB+AlTO8wGzRbUJewscu6gCWVZSMzBFREdFMDQwNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:52 GMT' + 'Fri, 18 Jun 2021 16:35:57 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js index d7b1a250c522..222d668d89b1 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "8c038731046781a9e29a78b4d4a229af"; +module.exports.hash = "c277fc9e40dbe9b6a340b0fd4b58a391"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVw; expires=Thu, 01-Jul-2021 15:56:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmg; expires=Sun, 18-Jul-2021 16:35:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8PQYpFdsowHS04Y6tyD9N5KHDqIFRzHIA_S3ie5MlZJAUExByi7iPai-P4L6muavxtTwfdifo_nJOLEumFQk_sC-wGRQshOunMsHSORt7PZMPysF0Kbnd4gXMUEPMpPEXf5VGFoU6hMUMvG0S49bfAeHIZz4BGEOxrs-jdxpWiMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUP5rFdyppgto6T8-nEb-weSXa06T3sZE0rV4WBtoC_dTrep1oqXIpsRCNXtWIukOmPj92Gt26VyOLN6XE-XKvJ7XcQE59_vz-dNlkBc_J8VZ7GjgG7S6CjdxulZVzMzMlDdkM2yRKeusNVCWgiDqTSO48fqvon-NDB76qnBZdyogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:42 GMT', + 'Fri, 18 Jun 2021 16:35:50 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVw; expires=Thu, 01-Jul-2021 15:56:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmg; expires=Sun, 18-Jul-2021 16:35:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQ_AIHhJRmi45G1N0mOSc91sNhh01hILUsXIBdK3Tj_CQnardwqBuFCki9NGYp_IZWHiAqYhLbNClAniRygOSLTF-pE8YgCcrk6M0gG6nExH1L0oqA6jpowXt30C4YA7baFnqwgKA-hbQO9fvqfm9xr-EN0KwIMqKrMjyJxyJaD0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-b_WLBcSGjYlr0c9ILgUCAhxmoTuW9ANnvF1jvK4yIU6kvPeEZFJEwqFquJGp1ev-2w7nImXRUY5U6GdZumMW_KTH7UkZ2Z7jEfg1wvr6ckWSTsfXUaxiIuFT_DHYmkmbqt740_YXWVtpF5Sixv0NI4uFhfxCVw1-fcltiwag1EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:42 GMT', + 'Fri, 18 Jun 2021 16:35:50 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:42 GMT', + 'Fri, 18 Jun 2021 16:35:51 GMT', 'Content-Length', '1327' ]); @@ -113,7 +113,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iFDJ7sWMOE61WCbwMH2sOQ.0', + '0/oqhO7TbE6ufoLEkR1wNg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '7302ms', + '2125ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0uli2YAAAAAA8JGja/66xT7IHX8Lm8WMrWVZSMzBFREdFMDQyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0Z8vMYAAAAAAfP6LIwgfUQI0EYqw1q7UYWVZSMzBFREdFMDQwNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:49 GMT' + 'Fri, 18 Jun 2021 16:35:53 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js index dcc80b115816..5148bcd26851 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "9db468d876f027cff1a56c0b2ccac1a5"; +module.exports.hash = "72d3da66787ce7ec1b5bd2e51979dcaa"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrwyherwr3PetcWM38RupvIQ3jt-26FVx_ZdGWwqu4C3XS9yRmf1F27LFwfMFytlmQAjhXi799PpkZ0N_UFjBLcdjJeBaEv9IdxefkD-ksZf0tk8wivE-su4xvVAmTlh2EATlnHvMCD3MUaKQCaa3OhoD80KzreyVXIJVTW4pmh2MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrnfjf2K7DTXof3wGZvv9ZDysn28V48vQHNugP3J7CwDDWrA9aVOdUKTmA1GIfqxaJDk8Ic3F0gFEoH6J5gEP_heNhVzVe7UcV_DIQWsozfpwznmPRER9se7CpOMt-nz5O2vw3LiDuo7X1w3AhtIxg2nfOIg52UwoRcfJKqAj-T_ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:50 GMT', + 'Fri, 18 Jun 2021 16:35:53 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - NCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTKRNrPew_Z0UX6g6rt73MV7hV-8WuWYWBrqQ3n94TjLrZi25r0OoQE0CuFeDI0tePqCDRyaR0tuoFAZ5-iDo0cyBInUc2xk8_dEHxGQL0rrt-Spw0iPoakhZ7--XI8GmOMIDfk-Uoj1qbEtwod5EsJVAXqsWcHNzz11vARJmTk0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrU3HrRnd8zj66-dWn9DMNrlFDX_fB141Hp8zV3JEKxpOPpfZjzeRLGKwAejBu7fhvyXr1Y-86P5tHdMjHh_ruBln6Dj9av0kHW79L-qIF71xgXVXJpb5UwKkQQdhMd85_Oq3n-NZvK6tFI6VlC3_jjniY3TkKqQNwFz22cGwUXkIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:50 GMT', + 'Fri, 18 Jun 2021 16:35:53 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:50 GMT', + 'Fri, 18 Jun 2021 16:35:54 GMT', 'Content-Length', '1327' ]); @@ -113,7 +113,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(404, {"error":{"code":"PhoneNumberNotFound","message":"The specified phone number +14155550100 cannot be found.","target":"phonenumber"}}, [ + .reply(404, {"error":{"code":"NotFound","message":"Input phoneNumber +14155550100 cannot be found.","target":"phonenumber"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '5yk9p4TWLUqOwzMX5IuPiA.0', + 'QzR59mUqFkSbodgsmrnmxQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '950ms', + '351ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0wli2YAAAAADOTk79dFXdQoLL7hJPmgr3WVZSMzBFREdFMDQxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0asvMYAAAAADnaDVouiPgR7+UuwybRNbjWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:51 GMT' + 'Fri, 18 Jun 2021 16:35:54 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js index ab14d1294c7c..dbd063adf362 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "abe2e819f7fadb19bc1a53535c53a6a0"; +module.exports.hash = "43b58e99c6ce1c8d4df4f3bcbd767346"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers') .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ + .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'cjAYMqMxbUKz6ep3e3bnbQ.0', + 'kM9OuVzFn0KXEbCP8o/0Rw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1589ms', + '2142ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0yFi2YAAAAADzJmFN0024S5PTfeT4cVtrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0csvMYAAAAACjDu27xlBWSo+EhXJjLdP3WVZSMzBFREdFMDMwNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:57 GMT' + 'Fri, 18 Jun 2021 16:36:04 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js index 92e49459a898..f00f4a355543 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "abe2e819f7fadb19bc1a53535c53a6a0"; +module.exports.hash = "43b58e99c6ce1c8d4df4f3bcbd767346"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,26 +25,28 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrmb6byl4EvAHuSIWwOrJU-06UDUeR8IYOiPKHTeH7l_Ps8mkrHv6csI0sg4h2xuMkHfFsCNflpn-ModolO2SMtt6jtdt8C9ZX051M0PNBQ27xTPOT3AKq3HSeMStgDCMEqiQnED8UrYiwOPBdRy_CVq2UI0OUeYHNQOeWKbdT3h0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVJFqZCjOekoTs62J6jyvtagwjZGc9kiRS5ML98fmH3DaqGk8SAuApx2yuycv_g9i4wruWn-ZtCXPlUVHIJ1eLtGrZwtsBYfBneqtLOJjgxAu7ybvQ3uF6VTChCDAg2HUQmvFa_HXsg2obM3-5IxrCSkHbRZj9mROuYRB_rNY1i0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:53 GMT', + 'Fri, 18 Jun 2021 16:35:58 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,28 +62,28 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXjmLnAR6El3MybADvo96oyQhgMp0RveMEgLTpjc9JLa6yKw_7DtIvdpUTwhnxsw9cuE_eGvv57bK4s2nx9wKx4tz7-uic-pYokK5u6CzorNW47wS90qfnNuGZAM-vRpk4QLJcTgdKtrSsQPYPYV20QCHR60y6yv33sSMyC5GgRwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtwhQ4NKfzT2yS98l0eCa_oJeQ2fQc-vbWwFsFasT32GBrzUX7189gsbyg6bm89aJpKXXO5WjLeGSy14xemL81Bt8FlAjQeDA3tOGqe-f6L-8XsEU9rUuWKyOXXnPQi3nzjxkJawJE8v4b2VC2jybqJ659US6pyUSYHDq0I7e1nAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:53 GMT', - 'Content-Length', - '1651' + 'Fri, 18 Jun 2021 16:35:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1327', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,25 +97,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:54 GMT', - 'Content-Length', - '1327' + 'Fri, 18 Jun 2021 16:35:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers') .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ + .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '/quyVzeSOESA+FBltAje4w.0', + 'NBvvSQa3A0CvjJlgAjMgdA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1819ms', + '2628ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0xli2YAAAAAAT6IjKzaFaSbVoOJo3K5aZWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0b8vMYAAAAABxlFqyNE3CT4vwaNDMrViqWVZSMzBFREdFMDQxOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:55 GMT' + 'Fri, 18 Jun 2021 16:36:02 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js index 61aa9c7c4493..4a84c81c558d 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5b6afe760ef7a0d2145b0dd4fd19d7ff"; +module.exports.hash = "24cf17e5a184ecc379d3cf483e2ba7f3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -15,7 +15,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'FLvEw029BU2btreSnceLwQ.0', + 'DieGANRAa0WmwFcbtKuzEg.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -25,13 +25,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1919ms', + '2161ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0/1i2YAAAAACyywQxltI8RJKl8hb9Tt4QWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0psvMYAAAAAAtYidbFB2uSafOHC7ZZ8tjWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:52 GMT', + 'Fri, 18 Jun 2021 16:36:56 GMT', 'Content-Length', '0' ]); @@ -39,7 +39,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -51,23 +51,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '88BoN1DDa0yYVwkcxFPWpA.0', + '1T/zZ5bS50CtzJ9fRSh69A.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '402ms', + '344ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0AVm2YAAAAAA0hDroit6nRIcHELD5rf40WVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0qcvMYAAAAABzz0FuCvqdRa6b42prNckkWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:52 GMT' + 'Fri, 18 Jun 2021 16:36:56 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -79,23 +79,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'wdEMMPNMYkG1v/6xek6KjQ.0', + 'wQtY6/dRSUGJ9hR2n+E+Sw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '381ms', + '352ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0A1m2YAAAAACmdVKAbl+NSYxnzAqNsIYnWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0q8vMYAAAAAC6iI69oqKuQ65TsFjEsRC7WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:53 GMT' + 'Fri, 18 Jun 2021 16:36:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:13:54.5394538+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:52:58.2705202+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -103,17 +103,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '2NL42cg4Wku+EMTPWuQwqA.0', + 'VCqmhgsvCk+aRkMdXwkX7w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '819ms', + '811ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Blm2YAAAAACpbPDIDenwQ5rZqnrH5//LWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0rsvMYAAAAADzUisO3hqzRJdIiy3VTuMCWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:54 GMT' + 'Fri, 18 Jun 2021 16:37:02 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -125,7 +125,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iXNzZyUtEUm/KN847boecg.0', + 'gwNsT0DPMki6FAs+Qv/8WQ.0', 'Operation-Location', '/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07', 'operation-id', @@ -135,13 +135,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1881ms', + '1693ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0CFm2YAAAAAA2acgAGSulSoJtzDCgsVnUWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0scvMYAAAAADRjDFPBEUmRooJwSnVQ0WAWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:55 GMT', + 'Fri, 18 Jun 2021 16:37:06 GMT', 'Content-Length', '0' ]); @@ -149,7 +149,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -157,23 +157,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'gyPmVQFGfkmhXXyEgv9bkg.0', + 'eOcBORrJVk6iXVtDgQ8UWQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '361ms', + '370ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Clm2YAAAAAD1X1RMo/WhTpZIJhqu6KwgWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0s8vMYAAAAAAuVx6vEF44RqQcws6Rg4PfWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:56 GMT' + 'Fri, 18 Jun 2021 16:37:06 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -181,23 +181,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'VI3JbCOGvkyw3MuusQ+FdA.0', + 'WgbUm76zZEGJSf3/C31j0w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '368ms', + '350ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0DVm2YAAAAAB9vt/b65n9T4+qtTCJzi4oWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0tcvMYAAAAABjbyg+HIN/Q6EMFRvbgtAhWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:57 GMT' + 'Fri, 18 Jun 2021 16:37:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -205,23 +205,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'KEC9IEx1PkC96uMBzJnr+A.0', + 'lWHEF2MUCk6MeQHuewgCtg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '355ms', + '365ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0D1m2YAAAAACb7L/5fWUBTJFmesZbgireWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0uMvMYAAAAABiJEbbi0wfQbcQO4pOfx0JWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:58 GMT' + 'Fri, 18 Jun 2021 16:37:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -229,23 +229,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'DBIyKSL1sU2/yKWCy8mcHw.0', + 'EKsQNa4vsUqaRR2IbgRXBQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '378ms', + '354ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Elm2YAAAAACjgrSXajmzQoPGlbcvAb/kWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0usvMYAAAAADHKdY6tdPpSrATSu3njonxWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:59 GMT' + 'Fri, 18 Jun 2021 16:37:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -253,23 +253,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'dlb2FUnzW0yOUbD1Ah/ctQ.0', + 'n81KbP5enkOgkSoWcSYK0g.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '381ms', + '347ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0FFm2YAAAAADd77ZrL3RtSI07U6bsZP7fWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0vMvMYAAAAAD0y9QuyONwQZy4IyfEMzfJWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:00 GMT' + 'Fri, 18 Jun 2021 16:37:16 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -277,23 +277,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iuxorzOhO0mrKndGJU4Svg.0', + 'W/aNNWNGuUa9qLnnFqiQSg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '345ms', + '399ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Flm2YAAAAAB8FWbDWOxNSroh+6oPUeOPWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0v8vMYAAAAADtXdXdnoT2QbbxRB5wUQLVWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:01 GMT' + 'Fri, 18 Jun 2021 16:37:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -301,71 +301,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'E/XuZHjVg0W5pEZBmXTsAQ.0', + 'd1sltkFiNkSn/EFbRAVnvw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '398ms', + '366ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0GVm2YAAAAAC+NFti/1mkRpM6bhUpeC3VWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0wcvMYAAAAADUM9XeWSfHQKKJ74M20jcoWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:02 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'PnzKsb2xwEyPjThV8LdZCA.0', - 'api-supported-versions', - '2021-03-07', - 'X-Processing-Time', - '449ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0G1m2YAAAAAATOtp8iCIKR4wxZH46ZiWGWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', - 'Date', - 'Tue, 01 Jun 2021 15:58:03 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'my4pCCqy6kmRWFuimc8pZg.0', - 'api-supported-versions', - '2021-03-07', - 'X-Processing-Time', - '339ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0Hlm2YAAAAADI94AZ15dyTpIVQHKmzBNMWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', - 'Date', - 'Tue, 01 Jun 2021 15:58:04 GMT' + 'Fri, 18 Jun 2021 16:37:21 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-01T15:58:19.4862785+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-18T16:37:20.3026265+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -373,17 +325,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '8PlkZTw44k6h5kwGe89CjA.0', + 'atpOGnc/u0apvAmrMCAh4w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '969ms', + '1645ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Ilm2YAAAAABPQ/rqgDQ0TaX9It8iO0cIWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0xsvMYAAAAABRhOWGBIkwSLkkzxhGiSPtWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:05 GMT' + 'Fri, 18 Jun 2021 16:37:27 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -395,7 +347,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'jMTssUPyf0qiNTw7Q6PcAQ.0', + 'WTZqSK4nREOgYUY8mteyOg.0', 'Operation-Location', '/phoneNumbers/operations/release_sanitized?api-version=2021-03-07', 'operation-id', @@ -405,13 +357,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1115ms', + '898ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0I1m2YAAAAABNP40PPFHOQ7qWLU8Y6tP/WVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0x8vMYAAAAACipTCHnOdhRb2+E9uYdl7DWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:06 GMT', + 'Fri, 18 Jun 2021 16:37:28 GMT', 'Content-Length', '0' ]); @@ -419,31 +371,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'M76a9ifx4UqOjueerFG/uA.0', - 'api-supported-versions', - '2021-03-07', - 'X-Processing-Time', - '289ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0JFm2YAAAAACQ4W1nwiP/RpxzZXtxnhsYWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', - 'Date', - 'Tue, 01 Jun 2021 15:58:07 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -451,23 +379,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ES0IiedtvEmSBRe01VLEBw.0', + 'BdyZE9us80aVO9qDcDR35w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '305ms', + '366ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0J1m2YAAAAAArqyd8BbNtT43F0j3/sBrrWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0yMvMYAAAAAClDzOmiOgQTJMw3HOmgVf6WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:08 GMT' + 'Fri, 18 Jun 2021 16:37:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -475,23 +403,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'GQspO9IHcUKWzJtf93uLew.0', + '4j8IUPXIJ0KdlC1TJf2q7w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '292ms', + '344ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0KVm2YAAAAAAmVaqYO0WiRJCGhHUO3l3vWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0y8vMYAAAAACRqh6EWKYcQ4nTtapCKTiaWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:09 GMT' + 'Fri, 18 Jun 2021 16:37:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -499,23 +427,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'dcnP9ahoX0KVIMjFI9wojQ.0', + '05zAtU0w7ESebe/UGsONng.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '286ms', + '300ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0K1m2YAAAAAAeNbES2xajRIglazztyrWOWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0zcvMYAAAAACN65igcqQ5R7kLLUePmo0AWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:10 GMT' + 'Fri, 18 Jun 2021 16:37:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -523,15 +451,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'm7X5MakuYkmPOw4cO3mPTw.0', + 'aXMIop8aOEubCbValAmYSg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '296ms', + '457ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Llm2YAAAAACTJFJumsMvRYlmUp2eX+vNWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '00MvMYAAAAADyOD26hk30Rp3tgszNU4EPWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:11 GMT' + 'Fri, 18 Jun 2021 16:37:35 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js index 0d2657644643..ae0679bc6d36 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5b6afe760ef7a0d2145b0dd4fd19d7ff"; +module.exports.hash = "24cf17e5a184ecc379d3cf483e2ba7f3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/SomeTenantId/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -27,22 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:36:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1VBlTEYVdYsFvnGijYbG8p-tJbfAe1Ibfuk0T4Bzdr4UfyyD1-O3MVq2_gBU6lVBH0AD5TPNGWRSjhEZ-PtowI2u9BR8ZHL6eZ-v6H6ik593RumP1vKo6nwUoQ9YM5BSXRoNStXXcPMduBM0sO7AQK2giCwhNXHgt2qm26VPh8YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWA4TVTVJ--yV-tAaRKSw82dQmlRZrksVnk1wIMoEy4eFe6yyeOum9TXxGrscjBsZRVVQ4JhONBgQ-RGH_8p-epdAGxxjwaiT36ngO5jm9CdDDMM22ThkyoB54Kxs7ETEdqDUFX5VrF1mFJbj8r0AznXWIyNQwDE_xsob-j7n2OggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:58 GMT' + 'Fri, 18 Jun 2021 16:36:04 GMT', + 'Content-Length', + '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:36:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNlyd1bz9nvJhSlmuPq-dJ7oTHXfYqmO-HwT--eL3j4kIqejYvse5AtBuiy0Z46TBCmBObxzho_tJgP_NnyWImLME1b0QJoLKpUXQRR6pI4u_bi37LcaRYzXQDg7ZBkiXjLsfwUwLZwjpB2b3TDlMby_XWtX5Mh8LjeRgCNWsDFsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWUfqJo6CJ7-tp8l1uQZdnbH5Hg3QtJJ3YV6l5FSvSrts7dc0Mtw98QKHGHX-hHDUihskQhI24tjh274XbYTBtohP00omgTX1ZCid6oA_zJjD0B8nq-HcHlOiO6tKY4uRG25JG0O9S7-TxPEjctoxvthAaT2RJXZhVFrPxlzo2z4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:58 GMT', + 'Fri, 18 Jun 2021 16:36:04 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAwAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAwAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:36:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:58 GMT', + 'Fri, 18 Jun 2021 16:36:05 GMT', 'Content-Length', '1327' ]); @@ -121,7 +121,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'TJzSmfJoskiLffWsT42DYA.0', + 'MCw5jaxsc0OKKIdsD/rFKA.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -131,13 +131,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2668ms', + '2804ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0yli2YAAAAACMvo7fBkEkQrzPoJwr36dhWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0dcvMYAAAAAAf9JYYxgNPRKbq+nb9n31RWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:01 GMT', + 'Fri, 18 Jun 2021 16:36:08 GMT', 'Content-Length', '0' ]); @@ -145,7 +145,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -157,23 +157,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Ap1V/tUgm0WHmZU0Ln54Zg.0', + 'CigSHtcSJ06zyHQ11V6dbQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '397ms', + '569ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0zVi2YAAAAAC17jxolXNFTZRNH/2pBI6hWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0eMvMYAAAAABIMnGIbChPTYPe2kzfIyR9WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:01 GMT' + 'Fri, 18 Jun 2021 16:36:08 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -185,23 +185,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'm6qcQ+jP3UaJHH73jR1swA.0', + '2iKmajM+XUaK0rHac9hVyg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '451ms', + '357ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0z1i2YAAAAADX8Vo73J4/RqfyOlsSaJTNWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0esvMYAAAAAA86FWamU90QqkDHK5oQzyGWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:02 GMT' + 'Fri, 18 Jun 2021 16:36:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:13:02.5226656+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:52:09.6164096+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -209,17 +209,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'LpLZN9h4mkitnAtt+SOv5w.0', + 'ApF14udBC0yfrcC1FqW77Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '684ms', + '924ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '00li2YAAAAADOQlvM9hJfR7FiuFyjvPZ+WVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0fcvMYAAAAACP0u5xWy5GT46rTuMAMSikWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:03 GMT' + 'Fri, 18 Jun 2021 16:36:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -231,7 +231,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'rbI7uWm8AUOb9fQuW7dERQ.0', + 'Ijj8faEWRUWp3xbyTZ+mhQ.0', 'Operation-Location', '/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07', 'operation-id', @@ -241,13 +241,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1880ms', + '1862ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01Vi2YAAAAAD6cllVxVeNQZLojX6beXDcWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0gMvMYAAAAAB24pCALPnWTJxkK7MTldEZWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:04 GMT', + 'Fri, 18 Jun 2021 16:36:18 GMT', 'Content-Length', '0' ]); @@ -255,7 +255,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -263,23 +263,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'rzuqG/7s8k2TYWky2nd0Tw.0', + '5OuM8uL8Xk64AQMf33n5pQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '386ms', + '379ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01li2YAAAAACvQBD/qnwJR6AIF6thrPSlWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0gsvMYAAAAAB3vCaS82geSI0b3IFTK411WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:05 GMT' + 'Fri, 18 Jun 2021 16:36:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -287,23 +287,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'x/anJLWK0ki6l0rsM9ytBg.0', + '0qJeHyB9CU2OsQbAhf9FKg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '448ms', + '590ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02Vi2YAAAAADZ9yLpCHcETrS8eNagxB4uWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0hMvMYAAAAACJbAgwjlDXR59x/3KHHbGTWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:06 GMT' + 'Fri, 18 Jun 2021 16:36:21 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -311,23 +311,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'JoVIil8EKUud4lUgJCcZxg.0', + 'xX1s5HSj8kixxn15HyHtTw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '373ms', + '432ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '021i2YAAAAADA+fwEC2SEQ5PhyGymivLrWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0h8vMYAAAAAD8AUDDixgdQLaGr2hrH+PpWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:07 GMT' + 'Fri, 18 Jun 2021 16:36:23 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -335,23 +335,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'gj78CoR4OU6h6I8ZgI1ZmA.0', + 'eY9D/SqXJUm4JWXTVepS8Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '603ms', + '379ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '03li2YAAAAABTcvdrjFCzTaAi3LSuLOMdWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0icvMYAAAAABxjdOXjcJZQYQKS4Shn+8JWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:08 GMT' + 'Fri, 18 Jun 2021 16:36:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -359,23 +359,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'uW7f1tXH1U+dOzsTPUpIhg.0', + '+HLcTPqDY06YvTkZfL+uQg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '387ms', + '388ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '04Fi2YAAAAACp1khBTDucTYBa9ZM5KkrIWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0jMvMYAAAAAAQV17OMRsgR6xULrUZhpO5WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:09 GMT' + 'Fri, 18 Jun 2021 16:36:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -383,23 +383,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Ek1TA1dTW0m1lVGKQWTLRg.0', + 'asqsJTp/Ck66+WDunA9Wlw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '672ms', + '359ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '041i2YAAAAAADmUXeU5JrQbtv+ofTyujQWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0jsvMYAAAAADjiRBQweHjTb9hGK5JynmwWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:10 GMT' + 'Fri, 18 Jun 2021 16:36:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -407,23 +407,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '33L4rG8Jd0SzYMMkR/juMQ.0', + 'iqSaEKWk/0aTV1f+80JQ5g.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '729ms', + '577ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '05li2YAAAAAAEhsH50DQIQLRdZLiZaeigWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0kcvMYAAAAADWIoF679ZKTK9BiKrK5mumWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:11 GMT' + 'Fri, 18 Jun 2021 16:36:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -431,23 +431,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '0ihd+d1SRUyZkgDeYXcssQ.0', + '8V/chfNreUCOKu5ASrFGdw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '692ms', + '373ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '06Fi2YAAAAABJme+tg2heRrPFJ/svPTxSWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0k8vMYAAAAAADVch+A5aOSrao/RG66cK2WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:12 GMT' + 'Fri, 18 Jun 2021 16:36:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-01T15:57:27.6669826+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-18T16:36:33.156404+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -455,17 +455,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'PmXjXtFZCEusd71L2afsZA.0', + 'JZ4SOp+HVE6fmkxRQ+FdWw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1105ms', + '1384ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '07Vi2YAAAAAAPcZHK/POaR6dyKg5eMKLtWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0mMvMYAAAAAAGkDyRTGvaRLdWYYDdRkKBWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:13 GMT' + 'Fri, 18 Jun 2021 16:36:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -477,7 +477,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Nsgyp/U1F0id/x0STSwsGA.0', + 'xOeRAOQsL0KQKUSRWqRzKA.0', 'Operation-Location', '/phoneNumbers/operations/release_sanitized?api-version=2021-03-07', 'operation-id', @@ -487,13 +487,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1507ms', + '1052ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '07li2YAAAAACHvS8YEezYQoz5lydnwvmEWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0mcvMYAAAAAC1AH9pxpUJQ45YpADcvLLuWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:14 GMT', + 'Fri, 18 Jun 2021 16:36:42 GMT', 'Content-Length', '0' ]); @@ -501,7 +501,31 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:35.7085025+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'Request-Context', + 'appId=', + 'MS-CV', + 'V+bSK7fs9UKnasknwxKm/w.0', + 'api-supported-versions', + '2021-03-07', + 'X-Processing-Time', + '294ms', + 'X-Cache', + 'CONFIG_NOCACHE', + 'X-Azure-Ref', + '0msvMYAAAAAAWZl8/zoSoRobIkdZ5DNbVWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + 'Date', + 'Fri, 18 Jun 2021 16:36:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":false}) + .get('/phoneNumbers/operations/release_sanitized') + .query(true) + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -509,23 +533,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'GM4vHzUqtkSExZif9ZQpKg.0', + 'OFXGT/BLFESM9xOZweSqug.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '370ms', + '310ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '08Fi2YAAAAADUZNsYXiO/Rbvm3elvPs3iWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0ncvMYAAAAAD4ClT0E8MaQosaL4JpA738WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:15 GMT' + 'Fri, 18 Jun 2021 16:36:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:35.7085025+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -533,23 +557,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'kQL1fHVVLkG9Zog/i4y99w.0', + 'n/OyEPhqWkSJSv9+9jSMpQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '3865ms', + '491ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '08li2YAAAAAAvIDRX/nqNTrmiJd9JgoP3WVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0n8vMYAAAAAAy88rNBfegSpb+NyFYKkg6WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:16 GMT' + 'Fri, 18 Jun 2021 16:36:47 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:35.7085025+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -557,15 +581,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'lkWcKyZykU+VEIN8GsBauQ.0', + '4K25XunquEaJ9P6alt4kqg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2260ms', + '296ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0+Fi2YAAAAAD4z1WA+05dSba3hrwduFjgWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0osvMYAAAAABnZayl7tXrT7iETkScwtYRWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:17 GMT' + 'Fri, 18 Jun 2021 16:36:50 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js index bd5609b31861..099e1d01364b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f76a45252c41cb8825081d8f3c86bb35"; +module.exports.hash = "54fc9ee98e5f24aed78d2ab61a21b45d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -15,7 +15,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'l78/KijTj0CkZbD6DuLGYA.0', + 'WXU0FowMukeSmU0otcpQpA.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -25,13 +25,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2332ms', + '2387ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0QVm2YAAAAADmp+5cdpBiTIzXEtlL1VYNWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '04svMYAAAAAA5FFbmfg9KTb5JC40Efg1iWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:00 GMT', + 'Fri, 18 Jun 2021 16:37:56 GMT', 'Content-Length', '0' ]); @@ -39,7 +39,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:59.6143975+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:56.5914269+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -51,23 +51,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'CbnAj5r0+kezHxfOjoblAw.0', + 'RAbU/uvvv0OpAOf6kA922w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '377ms', + '615ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0RFm2YAAAAAAOlby80ufYTpzIWKnVv6xFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '05cvMYAAAAACr56b98+JERopbN28ZjuVlWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:00 GMT' + 'Fri, 18 Jun 2021 16:37:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:59.6143975+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:56.5914269+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -79,23 +79,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Iyd4lTRBbU+vfnoEVDy/xA.0', + 'hMOpri8/y02V1tUBaGflvg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '390ms', + '363ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Rlm2YAAAAACLI0G8AWOwRasVEVTfrW43WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '058vMYAAAAAAII6T1XHFNQry51VLFnrftWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:02 GMT' + 'Fri, 18 Jun 2021 16:37:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:15:01.7257558+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:53:58.7981179+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -103,15 +103,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '8ofmiOuEEk+vNIVqtfmMiw.0', + 'kHkM6d/VTEefTQAIEzY5yw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '837ms', + '802ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0SFm2YAAAAADmiyy9U6OeT6qEAz4oMaU+WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '06svMYAAAAAA62ZdvDyhITKTYBWXedyjeWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:05 GMT' + 'Fri, 18 Jun 2021 16:38:02 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js index 0ce55b53c590..736a15e1a076 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "762f6deafb4b1dcf3df7b9c9b10d521b"; +module.exports.hash = "c2062ea5f2048a6c30795f545cbe7db3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Lxe8VXgtdECePdz4k2+OsQ.0', + '6h62eGZKf0y3cvasS5Kvag.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1033ms', + '1940ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0S1m2YAAAAABQDwGYqogrSo+iSEKdCtx1WVZSMzBFREdFMDQyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '07cvMYAAAAACRMlGwBt7bTLnOHBy0AY/LWVZSMzBFREdFMDQyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:08 GMT' + 'Fri, 18 Jun 2021 16:38:07 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js index c1fa41efacc4..915c9042170b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f76a45252c41cb8825081d8f3c86bb35"; +module.exports.hash = "54fc9ee98e5f24aed78d2ab61a21b45d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAwAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAwAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraGbc4njBZuToWvIbAoRUYKFnPaSvOJSgFwtQJTsqWCa3GSuHDgmzlKe42ndiijgGrXhy1H_DB9UawCIdrb8ZGdR6JBbO0uF637_4RataXiLVQW6qAJEiAvqAHXcTv0qb9O61cNgcU30aT_IO9XPdJInjvxXqN8PyjTYfNk3eFlwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrgdMc9h8KJ75v5G-v0HfiAzyi9ITWARQgp4lxHUQkfumoATegsBqc-K4292CZAKSivejnGE7g3nl6416xV1tXqPsY_A0-jvw80cscWA4HNMI73QJNnFtXtfjz9jBuma8n4r6wAYZXDpXluY4TBm8VnALNoJlrU3LGv7yCUEpV0-kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:42 GMT', + 'Fri, 18 Jun 2021 16:37:40 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,28 +60,30 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAwAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAwAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFf34oSaittwxALtxlBB0Kg1uS81_g-xnrXWMl6if7ekeryVnOSkcOZyRXtxcmmqMRwSEPfeaPQyjLeqM2DqMF-XKTNoV4320rIiQKNK-pMBuRiTY7eT8b_4TAbtxtsJiNesQtENStrywlH3pO2C_avlcgwDWduLjfI0v9a0XixogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW22qCpT7bKjAbHGZJFmKj9DnCWNKxHdeUYm_3KsgbvfYAsil4TNZiydAav9xli9RtLswD_5Cdxy8PBuYe8U7A7p42jrFeI7tqkD7i8Z9F0GWLD7Hvsm4AIC7b-U0Wzb8sr6Pf2oEF8w9cr3bGavWNN5dZN5W1AX39qk-aJqU3eMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:42 GMT', + 'Fri, 18 Jun 2021 16:37:40 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1327', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,19 +97,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBAAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:41 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:42 GMT', - 'Content-Length', - '1327' + 'Fri, 18 Jun 2021 16:37:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -121,7 +121,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ZcSC+9iKykCWPf+xE59pRA.0', + 'I/lcNC72+0WVuF3L0JY0KA.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -131,13 +131,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2267ms', + '1669ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0M1m2YAAAAABNO7P4GXZPQLmjSuDz9AutWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '01cvMYAAAAADpWh/Xzy5XRpGEG7edZf+LWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:44 GMT', + 'Fri, 18 Jun 2021 16:37:43 GMT', 'Content-Length', '0' ]); @@ -145,7 +145,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:45.1779544+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:42.865191+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -157,23 +157,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'oW9HISo5MUy628W+WlMdgw.0', + 'y/qGANY9oUSFi+fB/Gy6Eg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '509ms', + '350ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0NVm2YAAAAAA7vFCTwrczTJ715o9f5HOdWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '018vMYAAAAAAOpbIZaMegSJF4vNZCWs55WVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:45 GMT' + 'Fri, 18 Jun 2021 16:37:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:45.1779544+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:42.865191+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -185,23 +185,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'nfK8OJfRP0GmBUryuZfNHw.0', + '8Q8/LwRwXkC1CN+EG45FJA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '385ms', + '377ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0OFm2YAAAAABRw2fvHLVDQZ7bIFoprpglWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '02cvMYAAAAAAceSSo4hfGSbkqg3TS5kSyWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:47 GMT' + 'Fri, 18 Jun 2021 16:37:46 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:14:48.1312872+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:53:44.3704025+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -209,15 +209,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'VfbbdjPAnU+Gw0tSanUk1g.0', + 'Krt+hD2Sz069yZ5HDUQujg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '739ms', + '744ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Olm2YAAAAABhmeTsSwkvTYiaJ9j/dqCvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '03MvMYAAAAABFqfoSHW+WTpKiwB5vRTiOWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:50 GMT' + 'Fri, 18 Jun 2021 16:37:48 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js index 6e99c63416dd..3c1b0f147f5a 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "762f6deafb4b1dcf3df7b9c9b10d521b"; +module.exports.hash = "c2062ea5f2048a6c30795f545cbe7db3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBAAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJs4k13CFamT3NSGl_mC8dv0ZpbmUZ21WPabwEMt3N5nfiumJAieFKB6LXo-dRuxpGLR5iUldzSzJST24ymwsnZm4PNsWQPq-pW2LF-_q5HLJqisZZfCJjKezTvkzcAkFMbOCBAsKOvWfYkhYTSzed4PRvhgKAR2yJwlzvwnl4lwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxNJRycxIR1EL2MFv93WAsUIdcWznq33KPLLkZEpk6meUe_8mtj4OGh1u2njff47_PKVFdiJlswUAPoZNUk-lhxOZ4SVRIzm4IInaoUr11XFYKFtmG2Gia1HugFPcfVGu3N201BpSPH5UAYCY8BbLGPvK-XxnGZ6qqAUcjCZ6sSQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:53 GMT', + 'Fri, 18 Jun 2021 16:37:50 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBAAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrELDBizGHwxj5d2lV8T1TM8lwa5NS2eSoNCQMqolvJ2DItLIJZc-2-dsCPMgnAda32kNiu4m0_MAX2tFvpj4Hzc5Imlfb25DZIlr6PatP25oFGSk1C6UZy2TPTVFf5JTgQMDxHCfsprs_GfPJF9a2iSLGnF4EBbQK9NB3yyLEucsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjRrwfd7JZZMY774lJvDeEU0o9RONVjoJCCYqbLtQxnN4MA4J9BxvQlBCbnro_OvXTcqxBA4b8uegZ5YlLnI7WWatMPtjPujYEE-JlBHf1fLaiZjRt0J7Shtq9pxv8xJaFtz_lOsLZD2o-x2lsBsGkpgSZwfK1xfGZ9cer-XzEHQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:53 GMT', + 'Fri, 18 Jun 2021 16:37:51 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:53 GMT', + 'Fri, 18 Jun 2021 16:37:51 GMT', 'Content-Length', '1327' ]); @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'yvR2BaQK20aM/y4RJiPC2A.0', + 'WkgNKq8tNEOophFF/SODkA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '3453ms', + '2002ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0PVm2YAAAAAAZQPk1nuhZS7ZV+qoGJHZ2WVZSMzBFREdFMDQxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '04MvMYAAAAAAz+Djd8HsRQ4LIYv4ZVh/WWVZSMzBFREdFMDMxOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:57 GMT' + 'Fri, 18 Jun 2021 16:37:53 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js index 1d9e716f7ac6..ebbb8bef9550 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "d283ef4ee7ab0823ebb4f6397922c643"; +module.exports.hash = "c712c9c77d67bd041a87c0cfd72c611f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -19,7 +19,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ZNng7olGG0q3e0Ep/Lvl3w.0', + 'I99VikQapUCozl5S/WyOtw.0', 'Operation-Location', '/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07', 'operation-id', @@ -29,19 +29,19 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2022ms', + '1785ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0XVm2YAAAAABiHHm0keUdSKduK2gG+RepWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0A8zMYAAAAAB3ggB+vQgHTpdUTovnM/l3WVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:26 GMT' + 'Fri, 18 Jun 2021 16:38:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -53,23 +53,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'v6D9Bli9OkuYgMyivF/5Ug.0', + 'jqhrRy/v5ECHH4kHTR89aw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '318ms', + '391ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0X1m2YAAAAACVkAZmPGJAT6Scq806HEHZWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0BMzMYAAAAACnEkLQqM1SQ4u8ASmgNGrbWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:27 GMT' + 'Fri, 18 Jun 2021 16:38:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -81,23 +81,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'PrrOv5kQU0yiX0CP7s21yQ.0', + 'nq3C7t8F+UOL/4yGWj8NIg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '324ms', + '298ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0YVm2YAAAAACThWXxs+1pQZU/GmsXaYS7WVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0B8zMYAAAAACJyLQn5ajbS7RH4GQNWKltWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:29 GMT' + 'Fri, 18 Jun 2021 16:38:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -109,23 +109,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'FRe0z8D7Uk253pGHfnQKDA.0', + 'jXXTRhZlrUCMOdmQpWppFg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '326ms', + '304ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0ZFm2YAAAAAAjDcqiPACOTryCiOuREeBzWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0CczMYAAAAAB3VvNfPGagSoG0bGVhlzeZWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:31 GMT' + 'Fri, 18 Jun 2021 16:38:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -137,23 +137,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'jtqtFnGE6EyuGByegQdfnQ.0', + 'gfq27MjhO06jUEOjSLl5PQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '325ms', + '297ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Zlm2YAAAAAAYC+tttu42RYIUM3KQb69OWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0DMzMYAAAAACWu1aerjVCRYGLexL5MS8SWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:34 GMT' + 'Fri, 18 Jun 2021 16:38:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -165,23 +165,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '4V6cApOZaE2aD4p59tuqpg.0', + 'ibRBzJvoFky4Uh8URmmGEg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '341ms', + '294ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0aFm2YAAAAABVp/CH69/BR5rKJgQOvQxPWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0DszMYAAAAACwoYCPkDb5SaTcKFXPUFtHWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:36 GMT' + 'Fri, 18 Jun 2021 16:38:38 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/+14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -189,15 +189,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'WgQQDptpKUew5zLIo+4U8A.0', + 'aXFNE3dQS0Wr+aC0R3a9GA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1442ms', + '1153ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0a1m2YAAAAAAMiBKwlXTSRoiEMBzb6i7EWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0EMzMYAAAAACfhh7GaNiZSJXoebTY7IjOWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:39 GMT' + 'Fri, 18 Jun 2021 16:38:41 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js index 152e3cb9ee2f..7e178fb2a2fe 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js @@ -1,27 +1,29 @@ let nock = require('nock'); -module.exports.hash = "a029440b94d74f4bb37d8021fa55d003"; +module.exports.hash = "9d22e91b3c0859e19eebf021b89a898f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .patch('/phoneNumbers/%2B14155550100/capabilities', {"calling":"none","sms":"outbound"}) .query(true) - .reply(404, "", [ + .reply(404, {"error":{"code":"InternalError","message":"The server encountered an internal error."}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json', 'Request-Context', 'appId=', 'MS-CV', - 'A1uTBbq3nk2rB2RHx2xxiQ.0', + 'QdMD7Y75oUuEz/OnGua9RA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '277ms', + '301ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0blm2YAAAAAApYfcZTdxvQ4um59ELvNWHWVZSMzBFREdFMDMxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0FMzMYAAAAAAJQcr/2q+HTrABQAGhIAtoWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:42 GMT', - 'Content-Length', - '0' + 'Fri, 18 Jun 2021 16:38:43 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js index c4f071a6151f..b8c0d8bada6b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "d283ef4ee7ab0823ebb4f6397922c643"; +module.exports.hash = "c712c9c77d67bd041a87c0cfd72c611f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,6 +10,8 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/SomeTenantId/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +27,22 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:07 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrwoi2iwp2FqJTHHrEUb8OOxFK3AbrYkK1dz-2DieHdOv8zEtAdSha35VOoqy12mEvulJHPar7a1DxT8fTcMg8mtrdwN_UucjHwT6boS4bzHvCQbDu3fHGOyahGU7sEVAFAB4UKRTdmf3jYaS5weC5mkeLfPkgPVB0BtixLvw710EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQLLp2GiTlCwtak-vNuGKhmWT9ZIfsNIQkbygbgi26gc8MELamdFQ22t9rtt8XZAAXxr637cxo2RyRd6kpKU1jGYSMm_wPZRqtT1U4W1Vw9GnMSOaJKEpUrV-b55ME6yBwZY4p_w5ORdsdVyGou5Zc_mC6pWxtApCMXxrPsTrUmUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:09 GMT', - 'Content-Length', - '980' + 'Fri, 18 Jun 2021 16:38:07 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:07 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd7SWgSyhEUyUws6pob7eZZzvfiahwd95DoOxxmqhu5IlJVpiIC8x6SanJm07cPYBWqyBbz0gvohetw-NsCDoWMIylitQgueaR-CY3Y3kqJ9Xqa_3kTGIl6H0lpOnLhr4NdKLMLq3AlBV_ZJ__JTLJhY2sH9e7y4sSVjOBahUh68gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTEfa8rKIDDZeYvLoB0YlDO8TzsLnWieJkJV3_UF2de8aVvdGVXP2hlOM4NCA_XNt4O3w2sTpyt_lJ0UH3nv7ta6TStCzpKYarA77vR7339ebPVGkB1GuhzglpAEI4PbKUoxSIHS5GSK6cWT_1IsM21cJtNlh_XHK3jzt8Fvt_q4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:09 GMT', + 'Fri, 18 Jun 2021 16:38:07 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:07 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:09 GMT', + 'Fri, 18 Jun 2021 16:38:07 GMT', 'Content-Length', '1327' ]); @@ -125,7 +125,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'TLxm0aJrKE6R5971NCZYfA.0', + 'tggij5FFtUiiWqfEdemqDA.0', 'Operation-Location', '/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07', 'operation-id', @@ -135,19 +135,47 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1702ms', + '2254ms', + 'X-Cache', + 'CONFIG_NOCACHE', + 'X-Azure-Ref', + '078vMYAAAAACb4UfzFLE7S52RpLriak1wWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + 'Date', + 'Fri, 18 Jun 2021 16:38:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":false}) + .get('/phoneNumbers/operations/capabilities_sanitized') + .query(true) + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'Location', + '/phoneNumbers/+14155550100?api-version=2021-03-07', + 'Access-Control-Expose-Headers', + 'Location', + 'Request-Context', + 'appId=', + 'MS-CV', + 'Iu8y07y+GUGEs3Go8s53Jg.0', + 'api-supported-versions', + '2021-03-07', + 'X-Processing-Time', + '433ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0TVm2YAAAAAAXrPYkZtVdSZpgTLVCSPPBWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '08svMYAAAAAC+cW6hXAp8Q6albT3fzJeqWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:11 GMT' + 'Fri, 18 Jun 2021 16:38:10 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -159,23 +187,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'p5alFMGbYkK1mRdo1eg3AA.0', + 'oXomvaAW0EC5u9BA5m9VQA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '316ms', + '308ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0T1m2YAAAAABd5rH+gIATQ6Ba3JP+wrKEWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '09MvMYAAAAAAloP2DIGrTSqPQXbTozxtTWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:11 GMT' + 'Fri, 18 Jun 2021 16:38:12 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -187,23 +215,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ojjnbYg5QECEkWpBFMBBpg.0', + 'L2/xcxMI+kSoohQJafrAKg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '552ms', + '304ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0UVm2YAAAAAClePrdyMnHSKNG8NcIC+FsWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '098vMYAAAAADttYVy9qodS47hqHRreS0fWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:14 GMT' + 'Fri, 18 Jun 2021 16:38:15 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -215,23 +243,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iwPUuQmXdEiumaQ6CCMVBg.0', + 'h15uC+rPcE6AU1DsMIQ8Tg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '316ms', + '302ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0VFm2YAAAAACBGWfOkI30RKGUZLlnuHnoWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0+cvMYAAAAAAY3DoyNBV5R6GtWaWImU4sWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:16 GMT' + 'Fri, 18 Jun 2021 16:38:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -243,23 +271,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'HJmsVjC11UOr39yEjf5MjQ.0', + 'hqUA5kh2nUWKf4M2F6690Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '344ms', + '307ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Vlm2YAAAAAAUc9mEODOCRKVWtX/kWHqDWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0+8vMYAAAAAA1VptBHeVSSoUjTtzXGppkWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:18 GMT' + 'Fri, 18 Jun 2021 16:38:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/+14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -267,15 +295,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'FTy6B6yfT0OP+gqD8eKi0w.0', + 'Jy4qSxQn40GQyH3yYwUhlg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1021ms', + '1346ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0WVm2YAAAAADI8N6jcD4MSoSSO5GBzfiNWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0/svMYAAAAADzyRudf9A8TrBjhM4bNAEQWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:21 GMT' + 'Fri, 18 Jun 2021 16:38:23 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js index 9a4802debde4..4c1a127dc915 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "a029440b94d74f4bb37d8021fa55d003"; +module.exports.hash = "9d22e91b3c0859e19eebf021b89a898f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7TnBck8pxKJmCT4YxyorRwpqVuhN2c8uaM5mifipybCge_mRADKP1R6UJlQP4Srq1DYxNUhyDkkV5-BSG0vLqwiJyyk7hTkUY2yk5L4Dbn39JxlnnsM4-cLDRof47CtRjKvEax-4NdxQ1F843TBaAnuxY6bjNTHWxi4J1v_riuAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrE8dretEml899GRHl-N341VdqX3sFB_f-YrQAn6-DKWoBTUZaLK8OfSFA8Faf8B9_CsSrDrKBhe4wpA3tNswfsJS5AVbNzlIQfIHjvXCROLQ2tkf1JsXQwE3t1PE_7GhroiN11nTDwu6j_FzsfKhehlHulvgsv-LgzuMN8XZ36YogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:24 GMT', + 'Fri, 18 Jun 2021 16:38:25 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,28 +60,30 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5erknc1cq2HiqJ1ikxgqep9Eve5MZR9MQXljQPwQ7pV6mv-BeP2pMJKZm2MuV8MjkfK8c72w7aknetj7AfIEeVO6UseONgb_xszpvL8L4BjbC1nalYgXEJRKN5heKfJwmzcaN44ig-FF04QeVlAxmjwZPTBqYEt7goI6F5O9QtYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfKsrZEh5TYxNLB6-bIyRz80-dst8wyjToCRTCX5lpnvJRMtL9l4PSQUmUZ2epK96OsQYzyKzCXQbd6avpa0OMsO731PZW6c7Ek8-h_iIIge8ziHuoI3ltL2ecPZMGjChpwp5zPLvfjje716FV25dh3FpwIVDouAILfBNZSUx6BMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:24 GMT', + 'Fri, 18 Jun 2021 16:38:25 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1327', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,39 +97,39 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:24 GMT', - 'Content-Length', - '1327' + 'Fri, 18 Jun 2021 16:38:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .patch('/phoneNumbers/%2B14155550100/capabilities', {"calling":"none","sms":"outbound"}) .query(true) - .reply(404, "", [ + .reply(404, {"error":{"code":"InternalError","message":"The server encountered an internal error."}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json', 'Request-Context', 'appId=', 'MS-CV', - 'i4XGcpfr/0SW7kuxkulw9g.0', + 'ON3o+UzWtUiWFeOM/BghGA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '327ms', + '442ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0XFm2YAAAAADhsEI3RfgsSreBUV32r4ZAWVZSMzBFREdFMDMxMwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0AszMYAAAAABDyph1+u3WQandjyKyumqTWVZSMzBFREdFMDQxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:25 GMT', - 'Content-Length', - '0' + 'Fri, 18 Jun 2021 16:38:26 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts b/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts index 82ce3fc08dcb..8f90bfe44959 100644 --- a/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts @@ -48,7 +48,7 @@ describe("PhoneNumbersClient - headers", function() { }); it("sets date header", function() { - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; assert.typeOf(request.headers.get(dateHeader), "string"); }); diff --git a/sdk/communication/communication-phone-numbers/test/public/get.spec.ts b/sdk/communication/communication-phone-numbers/test/public/get.spec.ts index fd8480e90990..d1e770135138 100644 --- a/sdk/communication/communication-phone-numbers/test/public/get.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/get.spec.ts @@ -37,11 +37,8 @@ matrix([[true, false]], async function(useAad) { try { await client.getPurchasedPhoneNumber(fake); } catch (error) { - assert.strictEqual(error.code, "PhoneNumberNotFound"); - assert.strictEqual( - error.message, - "The specified phone number +14155550100 cannot be found." - ); + assert.strictEqual(error.code, "NotFound"); + assert.strictEqual(error.message, "Input phoneNumber +14155550100 cannot be found."); } }); }); diff --git a/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts b/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts index b20e288cd1a9..56dd6e75b526 100644 --- a/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts +++ b/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts @@ -15,7 +15,7 @@ const TEST_NUMBER = "+14255550123"; describe("[mocked] SmsClient", async () => { const baseUri = "https://contoso.api.fake:443"; const connectionString = `endpoint=${baseUri};accesskey=banana`; - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; let sendRequestSpy: sinon.SinonSpy; const mockHttpClient: HttpClient = new MockHttpClient(TEST_NUMBER);