Граф коммитов

81 Коммитов

Автор SHA1 Сообщение Дата
danielszaniszlo b8a128da00
Adding Javascript SDK for health deid service (#30049)
### Packages impacted by this PR
This PR includes the JavaScript/Typescript SDK for health deid service.
It includes:
- tests
- samples
- Readme

### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>
2024-07-24 11:38:47 -07:00
Maor Leger c6aa75d312
[identity] Identity bug fix (#29982)
Identity bug fix
2024-06-10 23:36:58 +00:00
Sarangan Rajamanickam 5165940b8e
[@azure/eventgrid-system-events]Initial Commit V1.0.0-beta.1 (#29688)
### Packages impacted by this PR

@azure/eventgrid-system-events

### Issues associated with this PR

NA

### Describe the problem that is addressed by this PR

1. Originally, there was one unified package -
[`@azure/eventgrid`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid).
This package was generated from Swagger specification.
2. Earlier in April 2024, some parts of the `@azure/eventgrid` package
were extracted out to create a new package -
[`@azure/eventgrid-namespaces`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid-namespaces).
This package was generated from Typespec specification.
3. Now, with this PR, we are looking at the second split of the
`@azure/eventgrid` package. All System Events have been extracted out of
the swagger specification to Typespec specification. This is a new
package named `@azure/eventgrid-system-events`.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

1. In the Typespec core generator, We have an issue where client name
overrides are not applied to `alias`. I have created an issue
https://github.com/microsoft/typespec/issues/3240 to fix this. In the
meantime, I have handled this issue in the custom code.
2. With the new generator, `Known*` models are not generated. I have
created an issue
https://github.com/Azure/autorest.typescript/issues/2476 to fix this. In
the meantime, I have handled this issue in the custom code.
3. In the previous generator, we had several properties which were
overridden as mandatory parameters. With the new generator, such mass
overrides are not possible. So, we are allowing them to be optional and
close to the Wore specification. This is in parity with the other
language SDKs.

### Are there test cases added in this PR? _(If not, why?)_

No. They are all model objects. No code functionality is involved.

### Provide a list of related PRs _(if any)_

1. https://github.com/microsoft/typespec/issues/3240
2. https://github.com/Azure/autorest.typescript/issues/2476
3. https://github.com/Azure/azure-sdk-for-js/pull/29245

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

`npx tsp compile client.tsp`

### Checklists
- [X] Added impacted package name to the issue description
- [X] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [X] Added a changelog (if necessary)

@xirzec @joheredi @lmazuel FYI......

---------

Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>
2024-06-06 21:07:44 -07:00
Daniel Getu 9bacb64c14
[Search] Regenerate with 2024-05-01-preview spec (#29594) 2024-05-20 20:03:00 +00:00
chungshengfu 4a102992b4
Generate and implement Face SDK via TypeSpec (#29557)
### Packages impacted by this PR

@azure-rest/ai-vision-face

### Issues associated with this PR

### Describe the problem that is addressed by this PR

Generate and implement Face SDK via TypeSpec.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_


### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Chung Sheng Fu <Chung.Fu@microsoft.com>
2024-05-10 22:33:34 +08:00
v-durgeshs 158e74f6c2
Added Alpha3 Hold Unhold sdk changes. (#28797)
### Issues associated with this PR

[User Story
3635039](https://skype.visualstudio.com/SPOOL/_workitems/edit/3635039):
[Alpha3][NodeJS][Hold/Unhold][SDK] Add Hold/Unhold APIs.

### Describe the problem that is addressed by this PR
Adding the hold and unhold feature to sdk

---------

Co-authored-by: Vinothini Dharmaraj <v-vdharmaraj@microsoft.com>
2024-04-01 14:53:50 -07:00
Maor Leger f1a5ba120f
[EngSys] Generate subpath export review files (#28730)
### Packages impacted by this PR

@azure/notifications-hub

### Issues associated with this PR

Contributes to #28750 but completion requires updating all the packages
to use this

### Describe the problem that is addressed by this PR

Building off of @jeremymeng's work in #27646, this PR configures API
review files for packages containing subpath exports.

While APIView is not yet ready to support multiple json files, this
provides us with appropriate API reviews tracking any public API changes.

Follow-up PRs will add support for this in APIView, but this feels like
a quick win and step forward.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

A few alternatives, and I am open to feedback:

1. Update the EngSys script to allow multiple DocModel json files - I
chose to go with a flag to disable generating them instead, so that we
can build off of it in pieces
2. File naming convention - I already got and applied some feedback on
that, thanks Timo
2024-03-28 17:41:03 +00:00
Sarangan Rajamanickam d04b88b682
[@azure/monitor-query] Code Changes for GA Release (#28211)
### Packages impacted by this PR
@azure/monitor-query

### Issues associated with this PR
NA

### Describe the problem that is addressed by this PR
`@azure/monitor-query` is scheduled for a GA next week. A new
`MetricsClient` is introduced with this GA release.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
No special design considerations.

### Are there test cases added in this PR? _(If not, why?)_
Yes.

### Provide a list of related PRs _(if any)_
NA

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
NA

### Checklists
- [X] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [X] Added a changelog (if necessary)

@srnagar @KarishmaGhiya Please review and approve the PR

---------

Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com>
2024-03-25 16:40:47 -07:00
Daniel Getu d738efb7e2
[Search] Regenerate with 2024-03-01-Preview spec (#28576) 2024-03-17 06:59:30 +00:00
Maor Leger 445268d4e4
[core-client] Share state between ESM and CJS (#28822)
### Packages impacted by this PR

@azure/core-client

### Issues associated with this PR

N/A, follow up on #28631 

### Describe the problem that is addressed by this PR

If you are exporting both CommonJS and ESM forms of a package, then it
is possible for both versions to be loaded at
run-time. However, the CommonJS build is a different module from the ESM
build, and thus a different thing from the
point of view of the JavaScript interpreter in Node.js.

https://github.com/isaacs/tshy/blob/main/README.md#dual-package-hazards

tshy handles this by building programs into separate folders and treats
"dual module hazards" as a fact of life.

One of the hazards of dual-modules is shared module-global state.

In core-clientwe have a module-global operationRequestMap that is used
for deserializing. In order to ensure it works in this dual-package world we 
must use one of multiple-recommended workarounds.

In this case, the tshy documentation provides a solution to this with a
well-documented path forward. This is what is implemented here.

Please refer to
https://github.com/isaacs/tshy/blob/main/README.md#module-local-state
for added context

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

The obvious alternative is to just not do anything since tests have not
been failing; however, that
seems risky. While _this_ particular issue has not come up in tests, a
similar one came up for core-tracing.

I am open to just _not_ doing anything of course - I love not adding
code so just give me a reason!
2024-03-08 14:05:50 -08:00
Maor Leger 727a720825
[EngSys] Fix prettier path (#28803)
### Packages impacted by this PR

N/A

### Issues associated with this PR

N/A

### Describe the problem that is addressed by this PR

I was setting up my tooling demo for the team and ran into a bug in the
prettier v3,
chasing down the error, looks like it is [this
issue](https://github.com/prettier/prettier-vscode/issues/3007#issuecomment-1628836459)
and while there's no fix released yet,
the common workaround seems to work on a new machine for me.

This should in theory fix prettier for folks (if it's not working) using
VSCode
2024-03-07 10:23:01 -08:00
koen-mertens e49cb8addb
SDK implementation for Radiology Insights (in public preview) (#28577)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: Asaf Levi <asaflevi@microsoft.com>
Co-authored-by: KarolGel <138193722+KarolGel@users.noreply.github.com>
Co-authored-by: tomsft <138026577+tomsft@users.noreply.github.com>
Co-authored-by: Karolien Gellynck <kgellynck@microsoft.com>
Co-authored-by: Tom Deray <tomderay@microsoft.com>
2024-03-06 09:55:05 +01:00
Yifan Zhou 6c8741279f
Sdk auto/26702/@azure rest purview datamap (#28520)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2024-03-04 15:27:08 +08:00
Matthew Podwysocki 262c96e1fd
[notification-hubs] Adding Support for FCM V1 (#28573)
### Packages impacted by this PR

- @azure/notification-hubs

### Issues associated with this PR

N/A

### Describe the problem that is addressed by this PR

Adds support for [Firebase Messaging
V1](https://firebase.google.com/docs/cloud-messaging) following the PR
from the Azure Notification Hubs Team
https://github.com/Azure/azure-notificationhubs-dotnet/pull/302

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_

Yes

### Provide a list of related PRs _(if any)_

https://github.com/Azure/azure-notificationhubs-dotnet/pull/302

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [x] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [x] Added a changelog (if necessary)
2024-02-14 16:25:49 +00:00
Deyaaeldeen Almahallawi 64b62c641a
[OpenAI] Introduce generated RLC (#28528)
WIP
2024-02-12 13:28:33 -08:00
Sarangan Rajamanickam da87d8cfbb
Adding new events for EG Version 5.2.0 (#28513)
### Packages impacted by this PR

@azure/eventgrid

### Issues associated with this PR

NA

### Describe the problem that is addressed by this PR

The EventGrid Service Team has added 14 new events. The SDK must be
regenerated to include the code changes related to these 14 new events.
The SDK minor version has been updated.

  - `Microsoft.Storage.StorageTaskAssignmentQueued`
  - `Microsoft.Storage.StorageTaskAssignmentCompleted`
  - `Microsoft.AVS.ScriptExecutionStarted`
  - `Microsoft.AVS.ScriptExecutionFinished`
  - `Microsoft.AVS.ScriptExecutionCancelled`
  - `Microsoft.AVS.ScriptExecutionFailed`
  - `Microsoft.AVS.PrivateCloudUpdating`
  - `Microsoft.AVS.PrivateCloudUpdated`
  - `Microsoft.AVS.PrivateCloudFailed`
  - `Microsoft.AVS.ClusterCreated`
  - `Microsoft.AVS.ClusterDeleted`
  - `Microsoft.AVS.ClusterUpdating`
  - `Microsoft.AVS.ClusterUpdated`
  - `Microsoft.AVS.ClusterFailed`
 
### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

There are no specific/complex design scenarios for this task. It is a
straightforward regenerate and some standard changes to the custom layer
of the code.

### Are there test cases added in this PR? _(If not, why?)_

No. This item is standard and we need not add test cases for every new
events. The existing cases would be sufficient.

### Provide a list of related PRs _(if any)_

- https://github.com/Azure/azure-sdk-for-js/pull/27384 (This is the PR
that adds similar events to the SDK in the 4.15.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/26939 (This is the PR
that adds similar events to the SDK in the 4.14.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/26020 (This is the PR
that adds similar events to the SDK in the 4.13.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/28176 (This is the PR
that adds similar events to the SDK in the 5.1.0 release)


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

`autorest --typescript swagger\README.md`

### Checklists
- [X] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [X] Added a changelog (if necessary)
2024-02-08 13:15:56 -08:00
Glenn Harper 74a69f5c70
[OpenAI Assistants] Initial release (#27807)
### Packages impacted by this PR
New package: @azure/openai-assistants
Generated from [initial typespec for Assistants
PR](https://github.com/Azure/azure-rest-api-specs-pr/pull/15866)

### Issues associated with this PR


### Describe the problem that is addressed by this PR
New package for OpenAI Assistants API

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2024-02-02 08:19:03 -08:00
Maor Leger ac932c665b
[identity] Remove MsalBaseUtils class (#28283)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

N/A 

### Describe the problem that is addressed by this PR

As we start to cleanup and refactor Identity, one of the low hanging
fruits we can remove right now is the MsalBaseUtils class
which all the MsalFlows inherit from. By standardizing here we can start
to peel away some of the inheritance based indirection
and move towards composition of smaller building blocks.

I tried to minimize the number of changes and make this a pure refactor,
as 1:1 to the existing behavior as possible while we
work out the larger refactor of the Msal inheritance based flows.
2024-01-23 11:10:15 -08:00
Jeremy Meng a780805dc5
[engsys][core] switch to run prettier from dev-tool's dependency (#28127)
using `dev-tool run vendored` command. This allows us to remove
dependency on
`prettier` from the packages' dependency list which helps maintenance.

### Issues associated with this PR
#27909
2023-12-29 12:32:26 -08:00
Franko Morales 09ec7bf5f0
Updating deprecated names (#28009)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2023-12-11 10:26:13 +05:30
Franko Morales 6b9dae91ea
Fixing naming typo for Play Source Id (#28001)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2023-12-06 22:27:42 +00:00
minwoolee-msft e0eec9b073
[ACS][CallAutomation] Updating SDK alpha version to 1.2, and various important updates (#27570)
This is an update that combines changes from released changes (1.0/1.1)
to latest feature Main branch. See below for all changes.

- Updated versions to 1.2 Beta
- Various updates to match released versions
- Swagger Regenerated with latest api
- GA2 changes applied
- Unit test updated

---------

Co-authored-by: Min Woo Lee 🧊 <77083090+minwoolee-ms@users.noreply.github.com>
2023-11-30 20:24:53 -08:00
Andrew Kao 27ebb3d6c0
[Maps] [Search] Onboarding Maps Search V2 (#27772)
### Issues associated with this PR
NA

### Describe the problem that is addressed by this PR
- Introducing Map Search V2 SDK generated by [the backend API
definition](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/maps/data-plane/Search/stable/2023-06-01/search.json).
- The V2 APIs is not backward compatible; this is approved by the API
review board. In SDK side, we decide to do backward compatibility by
giving instruction to the users as follow:
  - Install two version separately as dependencies
```json
{
  "dependencies": {
    "@azure-rest/map-search-v1": "npm:@azure-rest/map-search@^1.0.0",
    "@azure-rest/map-search-v2": "npm:@azure-rest/map-search@^2.0.0"
  }
}
```
  - Import them saperately:
```js
import MapSerachClientV1 from "@azure-rest/map-search-v1";
import MapSearchClientV2 from "@azure-rest/map-search-v2";
```

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
The other consideration is adding a new package for search V2. We will
migrate to V2 eventually and we will only apply bug fixes for V1, thus
we decided to bump the major version. Also, since `^1.0.0` is still in
public-preview, it's safe for SDK side to introduce breaking changes
without a version bump.

### Are there test cases added in this PR? _(If not, why?)_
NA

### Provide a list of related PRs _(if any)_
NA

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [x] Added impacted package name to the issue description
- [x] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [x] Added a changelog (if necessary)
2023-11-20 15:06:11 +00:00
Harsha Nalluru 642530fb0b
[Document Intelligence] Typespec Generated Code (#27516)
This PR
- [x] Code generated from Typespec
- [x] Changelog
- [x] Port all the Tests from FR
- [x] Push recordings to assets repo
- [x] Samples-dev, JS, and TS
- [x] Readme
- [x] Readme getting started samples
- [x] Sample.env
- [x] CI
- [x] Live test pipeline
- [x] test-resources.json

Future PR
- [ ] Browser tests
- [ ] AAD (service doesn't support yet for this preview)
- [ ] Add back API REF link
2023-11-16 23:38:18 +00:00
Jeremy Meng 655bd8d428
[Easm] Fix cspell errors (#27438)
The package is a RLC and these words are inherited from api specs.

Fixes #27434
2023-10-18 02:22:32 +00:00
Scott Addie 27fb2d9696
Replace AAD references in Azure Identity libraries (#27408)
Replace Azure AD references in Markdown files and code comments with
Microsoft Entra ID, per the guidance at
https://learn.microsoft.com/azure/active-directory/fundamentals/how-to-rename-azure-ad.
2023-10-16 10:05:26 -05:00
Daniel Getu 1540ad28d5
[Search] Add text query vectorizer (#27338) 2023-10-11 23:56:31 +00:00
Mike Hang 402226dd1b
Mhang/pstn dial out feature (#27189)
### Packages impacted by this PR
communication-rooms

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Added support for PSTN Dial-Out Feature in ACS Rooms

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_
Yes

### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [X] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [X] Added a changelog (if necessary)
2023-10-05 10:24:56 -07:00
Jeff Fisher 67289ebaa0
[repo] add new single-root workspace for the sdk (#27062)
### Packages impacted by this PR

None

### Describe the problem that is addressed by this PR

The existing dataplane workspace has gotten difficult to use since we
have so many packages and sometimes we want to see/modify other files
such as `rush.json`.

This PR updates VS Code settings for opening the repository root as
a folder workspace so that ESLint works as expected in this scenario.
I also copied over some other settings from the workspace.
2023-09-14 11:11:58 -07:00
reutgross d8560f0557
[CognitiveServices - HealthInsights] SDK for JS (#26268)
### Packages impacted by this PR
Health Insights CancerProfilingRest and ClinicalMatchingRest (new
packages).

### Issues associated with this PR
[[Cognitive Services - Health Decision Support] REST API Review · Issue
#5731 · Azure/azure-rest-api-specs-pr
(github.com)](https://github.com/Azure/azure-rest-api-specs-pr/issues/5731)

### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Provide a list of related PRs _(if any)_
[[Cognitive Services - Health Insights] CADL revision for public preview
by asaflevi-ms · Pull Request #22990 · Azure/azure-rest-api-specs
(github.com)](https://github.com/Azure/azure-rest-api-specs/pull/22990)

---------

Co-authored-by: Asaf Levi <asaflevi@microsoft.com>
Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2023-08-18 10:11:01 +08:00
Sarangan Rajamanickam b70f822f58
[@azure/monitor-query] Code Changes to add Batch Client to Metrics Query Client (#26418)
Fixes https://github.com/Azure/azure-sdk-for-js/issues/25058

### Packages impacted by this PR
@azure/monitor-query

### Issues associated with this PR
NA

### Describe the problem that is addressed by this PR
In this PR, a new client called `MetricsBatchClient` has been added to
the SDK. This Client is generated from this
[swagger](https://raw.githubusercontent.com/Azure/azure-rest-api-specs/5f700acd3d094d8eedca381932f2e7916afd2e55/specification/monitor/data-plane/Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json).

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
The names of the following properties: `Metric`, `TimeSeriesElement`,
`MetricValue`, `MetadataValue` and `MetricUnit` are conflicting with the
existing names. So, they are renamed as `BatchMetric`,
`BatchTimeSeriesElement`, `BatchMetricValue`, `BatchMetadataValue` and
`BatchMetricUnit`.

### Are there test cases added in this PR? _(If not, why?)_
Since this is a beta release and needed to be released at the earliest
and the code has been tested locally, test cases are not added with this
PR. It will be added seperately

### Provide a list of related PRs _(if any)_
None

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
`...\azure-sdk-for-js\sdk\monitor\monitor-query> autorest --typescript
.\swagger\metric-Batch.md`

### Checklists
- [X] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [X] Added a changelog (if necessary)

@KarishmaGhiya @jeremymeng Please review and approve the PR.

@srnagar @scottaddie @xirzec FYI......

---------

Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2023-08-14 15:38:04 -07:00
Hector Hernandez 5c2e707d44
[Azure Monitor OpenTelemetry] Add OTLP Exporters (#26460)
Packages updated by this PR: @azure/monitor-opentelemetry

Add support for OTLP HTTP exporters
2023-07-12 13:08:31 -07:00
Daniel Getu 634d469f1e
[Search] Add vector search (#26069) 2023-07-11 22:05:59 +00:00
classBabacar-msft ac2f3936f1
Add SDK for Tiering (#26121)
This is the (internal/private) SDK for Tiering, currently, retrieves
limits for each capability (SMS/PSTN Calling/Phone Number purchasing)
for a specific resource/tier.

On a high level all of these endpoints are here to achieve that:

`Get acquired number limits` - how many numbers a resource has already
acquired and the limits
`Get tier info` - retrieving tier information for a resource
2023-06-16 15:46:49 -07:00
Jeff Fisher 960a169a18
[engsys] Address issue with prettier extension (#26205)
### Packages impacted by this PR

None - this is a dev dependency fix

### Issues associated with this PR

https://github.com/prettier/prettier-vscode/issues/3020

### Describe the problem that is addressed by this PR

Tweak our VS Code settings so that the prettier extension can properly
format during development once again.
2023-06-15 18:51:22 +00:00
Adam Tazi 54f342dbeb
Update SDK with V4 Media Features (#26196)
This pull request updates the SDK with the remaining V4 Media features,
including:
- Media Streaming
- Play TTS
- Play SSML
- Recognize choices
- Recognize speech
2023-06-15 11:32:19 -07:00
williamzhao87 6133290b57
Add reofferTimeUtc to Decline API (#26019)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2023-05-29 09:11:51 -04:00
Deyaaeldeen Almahallawi ad7b405ee4
[OpenAI] Add library (#25921)
This PR introduces the @azure/ai-openai library. Please ignore the
`sources` folder for now. Also, please note that it has been decided to
use the REST names of the properties in the output models for this first
release, so although they don't sound like the best names, they will not
be renamed in this first release.

Also, please note this package is scheduled for release on 5/22.

---------

Co-authored-by: Jeremy Meng <jeremy.ymeng@gmail.com>
2023-05-22 09:11:39 -07:00
williamzhao87 4906fec9eb
Add MaxNumberOfJobs + Fix JS SDK (#25707)
Add maxNumberOfJobs and WebhookRule
Fix swagger generation
Fix bunch of issues in RouterClient, RouterAdministrationClient and
models, options
Update Readmes

### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2023-05-01 15:56:33 +00:00
Jeremy Meng f629a6a088
[engsys] exclude `.github/CODEOWNERS` from spell checking (#25584)
as the file mostly contains aliases and paths, with a handful comments.
There's little value spell-checking it. Also aliases will cause a lot of
noises. This PR excludes it from being checked.
2023-04-20 18:21:48 +00:00
Michal Materna 863a3ec918
Adding Translation Text Service SDK (#25363)
### Packages impacted by this PR
@azure-rest/ai-translation-text

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Adding Translation Text Service SDK -
https://learn.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_
yes

### Provide a list of related PRs _(if any)_
ApiView -
https://apiview.dev/Assemblies/Conversation/929808949dbf4c0fb72a0b51de7ec395
TypeSpec -
https://github.com/Azure/azure-rest-api-specs/pull/23231/files

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
`tsp compile .`

### Checklists
- [x] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [x] Added a changelog (if necessary)

---------

Co-authored-by: Michal Materna <mimat@microsoft.com>
Co-authored-by: hamshavathimunibyraiah <125092972+hamshavathimunibyraiah@users.noreply.github.com>
Co-authored-by: Hamshavathi Munibyraiah (Murphy V-hmunibyrai Associates Inc) <v-hmunibyrai@microsoft.com>
Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2023-04-12 17:42:15 -04:00
Will Temple a162daee4b
[ai-form-recognizer] Prepare 4.1.0-beta.1 release (#25528)
This PR ties up some loose ends in the Form Recognizer release.

- Updates the README with details about the new classification feature.
- Adds a `classifyDocument` sample.
- Regenerates `samples/v4-beta`.
- Slightly tweaks prebuilt codegen so that it adds
`@azsdk-skip-javascript` to prebuilt model code.
2023-04-11 14:12:38 -04:00
Will Temple 3c0f9690aa
[ai-form-recognizer] Support API version 2023-02-28-preview (#25480)
WIP

This PR updates @azure/ai-form-recognizer to support API version
`2023-02-28-preview`. It updates the SDK version to 4.1.0-beta.1.

It also removes the test recordings which have been onboarded to the
asset sync tool.

The changes are described in CHANGELOG.md. All generated files (prebuilt
models) have been regenerated based on the latest model schemas. The
vast majority of changes are deleted recordings or regenerated models.
See the `api.md` file for changes to the API.
2023-04-11 10:15:11 -04:00
Matthew Podwysocki 6f3c0763ab
[notification hubs] Adding Xiaomi support (#25171)
### Packages impacted by this PR

- @azure/notification-hubs

### Issues associated with this PR


### Describe the problem that is addressed by this PR

Adds Xiaomi support for Track 2 SDKs with registration, installation,
send and send outcome operations.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_

yes

### Provide a list of related PRs _(if any)_

- https://github.com/Azure/azure-notificationhubs-dotnet/pull/261
- https://github.com/Azure/azure-notificationhubs-dotnet/pull/260
- https://github.com/Azure/azure-notificationhubs-dotnet/pull/259

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [x] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [x] Added a changelog (if necessary)

---------

Co-authored-by: Jeremy Meng <jeremy.ymeng@gmail.com>
2023-03-09 23:03:09 +00:00
Chenyang Liu 4538a2818d
[webpubsub] Init pr for client protobuf protocol (#24879)
### Packages impacted by this PR
@azure/web-pubsub-client-protobuf

This is the init pr for @azure/web-pubsub-client-protobuf. Please review the package name, dependencies.

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_
- [ ] Added a changelog (if necessary)
2023-03-09 05:54:09 +00:00
Anniruddh K e445cb05d2
Add purview-sharing rest client (#24971)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR
Adding rest client package for Sharing service under Microsoft Purview
product group.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_
Yes

### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [x] Added a changelog (if necessary)
2023-03-03 12:25:19 -08:00
Chenyang Liu 9be5107c6e
[WebPubSub] Initial PR for web-pubsub-client (#24029)
### Packages impacted by this PR
web-pubsub-client

### Issues associated with this PR


### Describe the problem that is addressed by this PR
This is the init PR for new package web-pubsub-client.

### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?


### Are there test cases added in this PR? _(If not, why?)_
Yes

### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_

### Checklists
- [x] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_
- [x] Added a changelog (if necessary)
2022-12-08 03:21:14 +00:00
Andrew Kao 49a15abd4a
[Maps] Onboarding `@azure-rest/maps-search` (#24056)
* Initial code gen

* Add auth layer & format

* Set up test environment

* Add tests & helper function

* Add recording

* Add samples

* Refine samples

* Build samples

* Refine README

* Finalize

* Add cspell whitelist for maps-search-rest

* Add auth section in the code snippet

* Disable doc ms

* Refactor the samples for batch request

* Add samples build
2022-12-02 16:37:57 +08:00
Andrew Kao c1e98ea443
[Maps] Onboarding `@azure-rest/maps-render` (#23831)
* Initial generation

* Remove unused dependency

* Add customize AAD authentication

* Add test cases

* Add a helper positionToTileXY

* Add samples

* add helper function: createPathQuery

* lineWidth -> lineWidthInPixels

* add helper: create pins query

refactor the helper function

* Add getMapStaticImage samples

* Add @example in typedoc for createPinsQuery

* Build samples

* Final refinement

* Update samples

* Update the recording with the fixed test proxy which support br encoding

* Fix several error from Build Analyze pipeline

- Add "bbox" as an exception for maps-rest api-view
- Remove locale info "en-US" in the link from README

* Fix format

* Fix typos

* Add TODO comment for collectionFormat: multi

* Fix the wrong snippet

* Make path support multi collectionFormat

* Make createPinsQuery support collectionFormat: multi

* Fix lint issue

* Update recording

* Add "require" in the code snippet in README

* Disable doc ms in samples
2022-12-02 11:07:24 +08:00
Timo van Veenendaal dffef55aa2
[keyvault] Add support for OKP key type (#23743) 2022-11-10 04:23:40 +00:00