Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 33 additions & 8 deletions sdk/voiceservices/arm-voiceservices/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
# Release History

## 1.0.1 (Unreleased)

## 2.0.0 (2025-03-04)
### Features Added

### Breaking Changes
- Added Interface ApiBridgeProperties
- Added Interface CustomSipHeader
- Added Interface CustomSipHeadersProperties
- Added Interface DnsDelegationProperties
- Added Interface DnsDelegationsProperties
- Added Interface ManagedServiceIdentity
- Added Interface Sku
- Added Interface UserAssignedIdentity
- Added Type Alias ApiBridgeActivationState
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias SkuTier
- Interface CommunicationsGateway has a new optional parameter allocatedMediaAddressPrefixes
- Interface CommunicationsGateway has a new optional parameter allocatedSignalingAddressPrefixes
- Interface CommunicationsGateway has a new optional parameter customSipHeaders
- Interface CommunicationsGateway has a new optional parameter dnsDelegations
- Interface CommunicationsGateway has a new optional parameter identity
- Interface CommunicationsGateway has a new optional parameter integratedMcpEnabled
- Interface CommunicationsGateway has a new optional parameter sku
- Interface CommunicationsGatewaysDeleteHeaders has a new optional parameter location
- Interface CommunicationsGatewayUpdate has a new optional parameter identity
- Interface CommunicationsGatewayUpdate has a new optional parameter sku
- Interface TestLinesDeleteHeaders has a new optional parameter location
- Added Enum KnownApiBridgeActivationState
- Added Enum KnownManagedServiceIdentityType
- Enum KnownCommunicationsPlatform has a new value TeamsDirectRouting

### Bugs Fixed

### Other Changes
### Breaking Changes

- Type of parameter apiBridge of interface CommunicationsGateway is changed from Record<string, unknown> to ApiBridgeProperties


## 1.0.0 (2023-04-04)

The package of @azure/arm-voiceservices is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
The package of @azure/arm-voiceservices is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/voiceservices/arm-voiceservices/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
11 changes: 5 additions & 6 deletions sdk/voiceservices/arm-voiceservices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure MicrosoftVoiceServices client.



[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/voiceservices/arm-voiceservices) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-voiceservices) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-voiceservices) |
Expand Down Expand Up @@ -42,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure MicrosoftVoiceServices** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand All @@ -62,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { MicrosoftVoiceServices } from "@azure/arm-voiceservices";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
clientId: "<YOUR_CLIENT_ID>"
});
const client = new MicrosoftVoiceServices(credential, subscriptionId);
```

### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts
Expand Down Expand Up @@ -106,7 +105,7 @@ If you'd like to contribute to this library, please read the [contributing guide

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fvoiceservices%2Farm-voiceservices%2FREADME.png)

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
10 changes: 5 additions & 5 deletions sdk/voiceservices/arm-voiceservices/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "c417434958b676b441ce184474210a8210a074b6",
"readme": "specification\\voiceservices\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\voiceservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.10 --generate-sample=true",
"commit": "1e3132c2f308fd63ab800ce351d34851ada174fe",
"readme": "specification/voiceservices/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/voiceservices/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.10"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.21",
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 3 additions & 3 deletions sdk/voiceservices/arm-voiceservices/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "dist/arm-voiceservices.d.ts"
"publicTrimmedFilePath": "./types/arm-voiceservices.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
6 changes: 0 additions & 6 deletions sdk/voiceservices/arm-voiceservices/assets.json

This file was deleted.

38 changes: 16 additions & 22 deletions sdk/voiceservices/arm-voiceservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,49 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for MicrosoftVoiceServices.",
"version": "1.0.1",
"version": "2.0.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-client": "^1.9.2",
"@azure/core-lro": "^2.7.2",
"@azure/core-lro": "^2.5.4",
"@azure/core-paging": "^1.6.2",
"@azure/core-rest-pipeline": "^1.18.2",
"@azure/core-rest-pipeline": "^1.19.0",
"tslib": "^2.8.1"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic",
"cloud"
"isomorphic"
],
"license": "MIT",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"module": "./dist-esm/src/index.js",
"types": "./dist/commonjs/index.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^2.0.0",
"@azure-tools/test-recorder": "^4.1.0",
"@azure-tools/test-utils-vitest": "^1.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.5.0",
"@azure/identity": "^4.7.0",
"@azure/logger": "^1.1.4",
"@types/node": "^18.0.0",
"@vitest/browser": "^3.0.3",
"@vitest/coverage-istanbul": "^3.0.3",
"@vitest/browser": "^3.0.6",
"@vitest/coverage-istanbul": "^3.0.6",
"dotenv": "^16.0.0",
"playwright": "^1.49.1",
"typescript": "~5.7.2",
"vitest": "^3.0.3"
"playwright": "^1.50.1",
"typescript": "~5.6.2",
"vitest": "^3.0.6"
},
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"repository": "github:Azure/azure-sdk-for-js",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
Expand Down Expand Up @@ -91,14 +93,6 @@
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/voiceservices/arm-voiceservices",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-voiceservices?view=azure-node-preview"
},
"type": "module",
"tshy": {
"project": "./tsconfig.src.json",
Expand Down Expand Up @@ -139,4 +133,4 @@
}
}
}
}
}
Loading