diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index e2ac4a887b9b..177134e83257 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -4500,6 +4500,40 @@ packages: vitest: 1.6.0(@types/node@18.19.64)(@vitest/browser@1.6.0) dev: false + /@vitest/browser@2.1.4(@types/node@18.19.64)(playwright@1.48.2)(typescript@5.2.2)(vitest@2.1.4): + resolution: {integrity: sha512-89SrvShW6kWzmEYtBj5k1gBq88emoC2qrngw5hE1vNpRFteQ5/1URbKIVww391rIALTpzhhCt5yJt5tjLPZxYw==} + peerDependencies: + playwright: '*' + safaridriver: '*' + vitest: 2.1.4 + webdriverio: '*' + peerDependenciesMeta: + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@testing-library/dom': 10.4.0 + '@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0) + '@vitest/mocker': 2.1.4(msw@2.6.0) + '@vitest/utils': 2.1.4 + magic-string: 0.30.12 + msw: 2.6.0(@types/node@18.19.64)(typescript@5.2.2) + playwright: 1.48.2 + sirv: 3.0.0 + tinyrainbow: 1.2.0 + vitest: 2.1.4(@types/node@18.19.64)(@vitest/browser@2.1.4) + ws: 8.18.0 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - typescript + - utf-8-validate + - vite + dev: false + /@vitest/browser@2.1.4(@types/node@18.19.64)(playwright@1.48.2)(typescript@5.6.3)(vitest@2.1.4): resolution: {integrity: sha512-89SrvShW6kWzmEYtBj5k1gBq88emoC2qrngw5hE1vNpRFteQ5/1URbKIVww391rIALTpzhhCt5yJt5tjLPZxYw==} peerDependencies: @@ -8691,6 +8725,40 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: false + /msw@2.6.0(@types/node@18.19.64)(typescript@5.2.2): + resolution: {integrity: sha512-n3tx2w0MZ3H4pxY0ozrQ4sNPzK/dGtlr2cIIyuEsgq2Bhy4wvcW6ZH2w/gXM9+MEUY6HC1fWhqtcXDxVZr5Jxw==} + engines: {node: '>=18'} + hasBin: true + requiresBuild: true + peerDependencies: + typescript: '>= 4.8.x' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@bundled-es-modules/cookie': 2.0.0 + '@bundled-es-modules/statuses': 1.0.1 + '@bundled-es-modules/tough-cookie': 0.1.6 + '@inquirer/confirm': 5.0.1(@types/node@18.19.64) + '@mswjs/interceptors': 0.36.9 + '@open-draft/deferred-promise': 2.2.0 + '@open-draft/until': 2.1.0 + '@types/cookie': 0.6.0 + '@types/statuses': 2.0.5 + chalk: 4.1.2 + graphql: 16.9.0 + headers-polyfill: 4.0.3 + is-node-process: 1.2.0 + outvariant: 1.4.3 + path-to-regexp: 6.3.0 + strict-event-emitter: 0.5.1 + type-fest: 4.26.1 + typescript: 5.2.2 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + dev: false + /msw@2.6.0(@types/node@18.19.64)(typescript@5.6.3): resolution: {integrity: sha512-n3tx2w0MZ3H4pxY0ozrQ4sNPzK/dGtlr2cIIyuEsgq2Bhy4wvcW6ZH2w/gXM9+MEUY6HC1fWhqtcXDxVZr5Jxw==} engines: {node: '>=18'} @@ -10936,7 +11004,7 @@ packages: resolve-import: 1.4.6 rimraf: 5.0.10 sync-content: 1.0.2 - typescript: 5.6.3 + typescript: 5.7.2 walk-up-path: 3.0.1 dev: false @@ -11081,6 +11149,12 @@ packages: hasBin: true dev: false + /typescript@5.2.2: + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + engines: {node: '>=14.17'} + hasBin: true + dev: false + /typescript@5.3.3: resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} engines: {node: '>=14.17'} @@ -11105,6 +11179,12 @@ packages: hasBin: true dev: false + /typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} + engines: {node: '>=14.17'} + hasBin: true + dev: false + /ua-parser-js@0.7.39: resolution: {integrity: sha512-IZ6acm6RhQHNibSt7+c09hhvsKy9WUr4DVbeq9U8o71qxyYtJpQeDxQnMrVqnIFMLcQjHO0I9wgfO2vIahht4w==} hasBin: true @@ -15416,7 +15496,7 @@ packages: dev: false file:projects/arm-hybridcompute.tgz: - resolution: {integrity: sha512-+DX7eIMt7WAbn6AD+QZpjVyoMuXdNpGH452FuoUH2UvFhOBtlZD3B5y8bwW/oE8d3E/u2eZ3B4N2cAFV32bgbw==, tarball: file:projects/arm-hybridcompute.tgz} + resolution: {integrity: sha512-IxFMCCeH0D2P6u+4Vwi9ROrWBKeO0DJEfs2jxyfJnrGNMrRKAWfplx0QVZY6ETK5Thjlm3myTMffxO2BT5PBiA==, tarball: file:projects/arm-hybridcompute.tgz} name: '@rush-temp/arm-hybridcompute' version: 0.0.0 dependencies: @@ -18933,7 +19013,7 @@ packages: dev: false file:projects/communication-call-automation.tgz: - resolution: {integrity: sha512-Fd/HeZS/REzGRLDLjxyqGG1NM1QgMCK7pzWoE0849CzJUyCUGayK6xbpCkvHxhexi1MBvlmwSwIp+Vaixtk0Qg==, tarball: file:projects/communication-call-automation.tgz} + resolution: {integrity: sha512-FZXfE1yvhzLuGI9cbG0BDyX46KKKyD2OSYuChSqUhJY/ZmzdBBAD5WpcGkGDAPpWY5FMcN52OLgsBJd2g92lww==, tarball: file:projects/communication-call-automation.tgz} name: '@rush-temp/communication-call-automation' version: 0.0.0 dependencies: @@ -19240,7 +19320,7 @@ packages: dev: false file:projects/communication-job-router.tgz: - resolution: {integrity: sha512-xPt7oEFIEnDcZHXkEsgPlaOBwbjSF6dQq4uDtXsp/yeslQgiTdGNnO5bUMfuqpTTiiwSsXCyCKEy2FmmrcRHLw==, tarball: file:projects/communication-job-router.tgz} + resolution: {integrity: sha512-2asWr03USbfs287ufZkj8sgX94e8AIkX8BU9mVvBxqPp+5NwM8F2I2OeKa/ZRb9z7dcawliux8IwyB2kNGIEAg==, tarball: file:projects/communication-job-router.tgz} name: '@rush-temp/communication-job-router' version: 0.0.0 dependencies: @@ -19354,7 +19434,7 @@ packages: dev: false file:projects/communication-phone-numbers.tgz: - resolution: {integrity: sha512-24JG0UquvqCfpD2fHYVg31EE7Zu+1LadlqbxK1oIhPj3dnaQ152m8T++HHMAkFzfbNdaH/1yqWjLTpBVotKMXA==, tarball: file:projects/communication-phone-numbers.tgz} + resolution: {integrity: sha512-AnSkWwQSYONDO5OCVxZrar5c5ciFSjxu3Hj9nDa8inwaPvGmtHvJyC8gMpTmzkjI8FTrN8i9UbjHB/BD+/YQeQ==, tarball: file:projects/communication-phone-numbers.tgz} name: '@rush-temp/communication-phone-numbers' version: 0.0.0 dependencies: @@ -19365,7 +19445,7 @@ packages: '@types/mocha': 10.0.9 '@types/node': 18.19.64 '@types/sinon': 17.0.3 - '@vitest/browser': 2.1.4(@types/node@18.19.64)(playwright@1.48.2)(typescript@5.6.3)(vitest@2.1.4) + '@vitest/browser': 2.1.4(@types/node@18.19.64)(playwright@1.48.2)(typescript@5.2.2)(vitest@2.1.4) '@vitest/coverage-istanbul': 2.1.4(vitest@2.1.4) chai: 4.3.10 dotenv: 16.4.5 @@ -19387,7 +19467,7 @@ packages: sinon: 17.0.1 ts-node: 10.9.2(@types/node@18.19.64)(typescript@5.6.3) tslib: 2.8.1 - typescript: 5.6.3 + typescript: 5.2.2 vitest: 2.1.4(@types/node@18.19.64)(@vitest/browser@2.1.4) transitivePeerDependencies: - '@edge-runtime/vm' @@ -20397,7 +20477,7 @@ packages: name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: - '@_ts/max': /typescript@5.6.3 + '@_ts/max': /typescript@5.7.2 '@_ts/min': /typescript@4.2.4 '@azure/identity': 4.5.0 '@eslint/js': 9.14.0 diff --git a/sdk/communication/communication-phone-numbers/CHANGELOG.md b/sdk/communication/communication-phone-numbers/CHANGELOG.md index 5d339a191a27..9ab8f96fd2f6 100644 --- a/sdk/communication/communication-phone-numbers/CHANGELOG.md +++ b/sdk/communication/communication-phone-numbers/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.3.0 (2025-02-11) + +### Features Added + +- Update version to 1.3.0 + ## 1.3.0-beta.4 (2024-03-01) ### Features Added diff --git a/sdk/communication/communication-phone-numbers/assets.json b/sdk/communication/communication-phone-numbers/assets.json index 88ecfc27d258..51f2f374caa7 100644 --- a/sdk/communication/communication-phone-numbers/assets.json +++ b/sdk/communication/communication-phone-numbers/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-phone-numbers", - "Tag": "js/communication/communication-phone-numbers_a01c53c0d4" + "Tag": "js/communication/communication-phone-numbers_f5480b11b1" } diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index 17ba9d54bb04..c00a0de68f2d 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-phone-numbers", - "version": "1.3.0-beta.4", + "version": "1.3.0", "description": "SDK for Azure Communication service which facilitates phone number management.", "sdk-type": "client", "main": "./dist/commonjs/index.js", diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts b/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts index cd2fbc1b109b..e9560eb18bf8 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts @@ -121,7 +121,7 @@ export const administrativeDivision: OperationQueryParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-03-01-preview", + defaultValue: "2025-02-11", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/operations/phoneNumbers.ts b/sdk/communication/communication-phone-numbers/src/generated/src/operations/phoneNumbers.ts index e81a477ccff7..7fb0dda5fec0 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/operations/phoneNumbers.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/operations/phoneNumbers.ts @@ -1402,7 +1402,7 @@ const operatorInformationSearchOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.OperatorInformationResult, }, default: { - bodyMapper: Mappers.CommunicationErrorResponse, + bodyMapper: Mappers.CommunicationError, }, }, requestBody: { diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts b/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts index 345ae7d4a217..b0213a3a93da 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts @@ -38,7 +38,7 @@ export class PhoneNumbersClient extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8", }; - const packageDetails = `azsdk-js-communication-phone-numbers/1.2.1`; + const packageDetails = `azsdk-js-communication-phone-numbers/1.3.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -57,7 +57,7 @@ export class PhoneNumbersClient extends coreClient.ServiceClient { this.endpoint = endpoint; // Assigning values to Constant parameters - this.apiVersion = options.apiVersion || "2024-03-01-preview"; + this.apiVersion = options.apiVersion || "2025-02-11"; this.phoneNumbers = new PhoneNumbersImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/tracing.ts b/sdk/communication/communication-phone-numbers/src/generated/src/tracing.ts index 1307019cc683..095585e55974 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/tracing.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/tracing.ts @@ -11,5 +11,5 @@ import { createTracingClient } from "@azure/core-tracing"; export const tracingClient = createTracingClient({ namespace: "Microsoft.Communication", packageName: "@azure/communication-phone-numbers", - packageVersion: "1.2.1", + packageVersion: "1.3.0", }); diff --git a/sdk/communication/communication-phone-numbers/swagger/README.md b/sdk/communication/communication-phone-numbers/swagger/README.md index 827caaaf224c..ee1ea5694fa6 100644 --- a/sdk/communication/communication-phone-numbers/swagger/README.md +++ b/sdk/communication/communication-phone-numbers/swagger/README.md @@ -7,11 +7,11 @@ ```yaml package-name: "@azure/communication-phone-numbers" description: Phone number configuration client -package-version: 1.3.0-beta.2 +package-version: 1.3.0 license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated -tag: package-phonenumber-2024-03-01-preview -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b56afb26c5450157006a3a1d9be57bae429051a2/specification/communication/data-plane/PhoneNumbers/readme.md +tag: package-phonenumber-2025-02-11 +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/20f6b5dfba6cef6162f9ea64fa18781cd3dcf1ea/specification/communication/data-plane/PhoneNumbers/readme.md model-date-time-as-string: false optional-response-headers: true payload-flattening-threshold: 10