Skip to content

Commit 949387a

Browse files
authored
[VoiceLive] Update typespec to point to main branch (#38634)
- Regenerate from updated tsp-location commit - Add RestError/isRestError re-export from @azure/core-rest-pipeline - Resolve tsp-client 3-way merge conflict in src/index.ts ### Packages impacted by this PR azure-ai-voicelive ### 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 - [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)_ - [ ] Added a changelog (if necessary)
1 parent 80a67ee commit 949387a

5 files changed

Lines changed: 11 additions & 2 deletions

File tree

sdk/voicelive/ai-voicelive/generated/index.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/voicelive/ai-voicelive/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"apiVersions": {
33
"VoiceLive": "2026-04-10"
44
},
5-
"emitterVersion": "0.52.3",
5+
"emitterVersion": "0.53.2",
66
"crossLanguageDefinitions": {
77
"CrossLanguagePackageId": "VoiceLive",
88
"CrossLanguageDefinitionId": {

sdk/voicelive/ai-voicelive/review/ai-voicelive-node.api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
```ts
66

77
import type { AbortSignalLike } from '@azure/abort-controller';
8+
import { isRestError } from '@azure/core-rest-pipeline';
89
import type { KeyCredential } from '@azure/core-auth';
10+
import { RestError } from '@azure/core-rest-pipeline';
911
import type { TokenCredential } from '@azure/core-auth';
1012

1113
// @public
@@ -614,6 +616,8 @@ export function isModelSessionTarget(target: SessionTarget): target is {
614616
agent?: never;
615617
};
616618

619+
export { isRestError }
620+
617621
// @public
618622
export type ItemParamStatus = string;
619623

@@ -1274,6 +1278,8 @@ export interface ResponseWebSearchCallItem extends ResponseItem {
12741278
type: "web_search_call";
12751279
}
12761280

1281+
export { RestError }
1282+
12771283
// @public
12781284
export interface Scene {
12791285
amplitude?: number;

sdk/voicelive/ai-voicelive/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ export {
245245
KnownServerEventType,
246246
} from "./models/index.js";
247247

248+
export { RestError, isRestError } from "@azure/core-rest-pipeline";
249+
248250
// Main client export
249251
export { VoiceLiveClient, type VoiceLiveClientOptions } from "./client/voiceLiveClient.js";
250252

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
directory: specification/ai/data-plane/VoiceLive
2-
commit: f90be644bbc9b2eef5d27e2735a4d99d57eaa9e9
2+
commit: 7d69cded2f29d86a48544c4f7d76e4930974cd92
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)