@azure/ai-projects 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -5
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +1 -1
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/classic/beta/agents/index.d.ts +2 -1
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/agents/index.js +3 -2
- package/dist/browser/classic/beta/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/index.d.ts +2 -1
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +3 -3
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
- package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/conversations/index.js +5 -4
- package/dist/browser/classic/beta/voiceAgents/conversations/index.js.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/index.d.ts +3 -2
- package/dist/browser/classic/beta/voiceAgents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/index.js +5 -5
- package/dist/browser/classic/beta/voiceAgents/index.js.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
- package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/telephony/index.js +16 -11
- package/dist/browser/classic/beta/voiceAgents/telephony/index.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +203 -158
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +129 -120
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/package.json +1 -1
- package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts +3 -0
- package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
- package/dist/browser/realtime/voiceAgentRealtimeClient.js +39 -8
- package/dist/browser/realtime/voiceAgentRealtimeClient.js.map +1 -1
- package/dist/browser/tracing/configuration.d.ts +3 -5
- package/dist/browser/tracing/configuration.d.ts.map +1 -1
- package/dist/browser/tracing/configuration.js +8 -6
- package/dist/browser/tracing/configuration.js.map +1 -1
- package/dist/browser/tracing/tracingClient.d.ts +1 -1
- package/dist/browser/tracing/tracingClient.d.ts.map +1 -1
- package/dist/browser/tracing/tracingClient.js +2 -2
- package/dist/browser/tracing/tracingClient.js.map +1 -1
- package/dist/browser/tracing/voiceAgentTracing.d.ts +63 -0
- package/dist/browser/tracing/voiceAgentTracing.d.ts.map +1 -0
- package/dist/browser/tracing/voiceAgentTracing.js +740 -0
- package/dist/browser/tracing/voiceAgentTracing.js.map +1 -0
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +2 -1
- package/dist/commonjs/aiProjectClient.js.map +2 -2
- package/dist/commonjs/classic/beta/agents/index.d.ts +2 -1
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.js +9 -2
- package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/index.d.ts +2 -1
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +9 -3
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js +10 -4
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js.map +2 -2
- package/dist/commonjs/classic/beta/voiceAgents/index.d.ts +3 -2
- package/dist/commonjs/classic/beta/voiceAgents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/voiceAgents/index.js +4 -4
- package/dist/commonjs/classic/beta/voiceAgents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js +33 -11
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js.map +2 -2
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +203 -158
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +145 -106
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/package.json +1 -1
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts +3 -0
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.js +45 -17
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.js.map +2 -2
- package/dist/commonjs/tracing/configuration.d.ts +3 -5
- package/dist/commonjs/tracing/configuration.d.ts.map +1 -1
- package/dist/commonjs/tracing/configuration.js +5 -1
- package/dist/commonjs/tracing/configuration.js.map +2 -2
- package/dist/commonjs/tracing/tracingClient.d.ts +1 -1
- package/dist/commonjs/tracing/tracingClient.d.ts.map +1 -1
- package/dist/commonjs/tracing/tracingClient.js +2 -2
- package/dist/commonjs/tracing/tracingClient.js.map +2 -2
- package/dist/commonjs/tracing/voiceAgentTracing.d.ts +63 -0
- package/dist/commonjs/tracing/voiceAgentTracing.d.ts.map +1 -0
- package/dist/commonjs/tracing/voiceAgentTracing.js +705 -0
- package/dist/commonjs/tracing/voiceAgentTracing.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +1 -1
- package/dist/esm/aiProjectClient.js.map +1 -1
- package/dist/esm/classic/beta/agents/index.d.ts +2 -1
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/agents/index.js +3 -2
- package/dist/esm/classic/beta/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/index.d.ts +2 -1
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +3 -3
- package/dist/esm/classic/beta/index.js.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
- package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/conversations/index.js +5 -4
- package/dist/esm/classic/beta/voiceAgents/conversations/index.js.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/index.d.ts +3 -2
- package/dist/esm/classic/beta/voiceAgents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/index.js +5 -5
- package/dist/esm/classic/beta/voiceAgents/index.js.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
- package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/telephony/index.js +16 -11
- package/dist/esm/classic/beta/voiceAgents/telephony/index.js.map +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +203 -158
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +129 -120
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts +3 -0
- package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
- package/dist/esm/realtime/voiceAgentRealtimeClient.js +39 -8
- package/dist/esm/realtime/voiceAgentRealtimeClient.js.map +1 -1
- package/dist/esm/tracing/configuration.d.ts +3 -5
- package/dist/esm/tracing/configuration.d.ts.map +1 -1
- package/dist/esm/tracing/configuration.js +8 -6
- package/dist/esm/tracing/configuration.js.map +1 -1
- package/dist/esm/tracing/tracingClient.d.ts +1 -1
- package/dist/esm/tracing/tracingClient.d.ts.map +1 -1
- package/dist/esm/tracing/tracingClient.js +2 -2
- package/dist/esm/tracing/tracingClient.js.map +1 -1
- package/dist/esm/tracing/voiceAgentTracing.d.ts +63 -0
- package/dist/esm/tracing/voiceAgentTracing.d.ts.map +1 -0
- package/dist/esm/tracing/voiceAgentTracing.js +740 -0
- package/dist/esm/tracing/voiceAgentTracing.js.map +1 -0
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +1 -1
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/classic/beta/agents/index.d.ts +2 -1
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/agents/index.js +3 -2
- package/dist/react-native/classic/beta/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/index.d.ts +2 -1
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +3 -3
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.js +5 -4
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.js.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/index.d.ts +3 -2
- package/dist/react-native/classic/beta/voiceAgents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/index.js +5 -5
- package/dist/react-native/classic/beta/voiceAgents/index.js.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.js +16 -11
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.js.map +1 -1
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/index.d.ts +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +203 -158
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +129 -120
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/package.json +1 -1
- package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts +3 -0
- package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
- package/dist/react-native/realtime/voiceAgentRealtimeClient.js +39 -8
- package/dist/react-native/realtime/voiceAgentRealtimeClient.js.map +1 -1
- package/dist/react-native/tracing/configuration.d.ts +3 -5
- package/dist/react-native/tracing/configuration.d.ts.map +1 -1
- package/dist/react-native/tracing/configuration.js +8 -6
- package/dist/react-native/tracing/configuration.js.map +1 -1
- package/dist/react-native/tracing/tracingClient.d.ts +1 -1
- package/dist/react-native/tracing/tracingClient.d.ts.map +1 -1
- package/dist/react-native/tracing/tracingClient.js +2 -2
- package/dist/react-native/tracing/tracingClient.js.map +1 -1
- package/dist/react-native/tracing/voiceAgentTracing.d.ts +63 -0
- package/dist/react-native/tracing/voiceAgentTracing.d.ts.map +1 -0
- package/dist/react-native/tracing/voiceAgentTracing.js +740 -0
- package/dist/react-native/tracing/voiceAgentTracing.js.map +1 -0
- package/package.json +6 -6
|
@@ -316,6 +316,8 @@ export function toolUnionSerializer(item) {
|
|
|
316
316
|
return namespaceToolParamSerializer(item);
|
|
317
317
|
case "tool_search":
|
|
318
318
|
return toolSearchToolParamSerializer(item);
|
|
319
|
+
case "microsoft_copilot_toolset_preview":
|
|
320
|
+
return microsoftCopilotToolsetPreviewSerializer(item);
|
|
319
321
|
default:
|
|
320
322
|
return toolSerializer(item);
|
|
321
323
|
}
|
|
@@ -388,6 +390,8 @@ export function toolUnionDeserializer(item) {
|
|
|
388
390
|
return namespaceToolParamDeserializer(item);
|
|
389
391
|
case "tool_search":
|
|
390
392
|
return toolSearchToolParamDeserializer(item);
|
|
393
|
+
case "microsoft_copilot_toolset_preview":
|
|
394
|
+
return microsoftCopilotToolsetPreviewDeserializer(item);
|
|
391
395
|
default:
|
|
392
396
|
return toolDeserializer(item);
|
|
393
397
|
}
|
|
@@ -2269,6 +2273,8 @@ export function agentHarnessDeserializer(item) {
|
|
|
2269
2273
|
}
|
|
2270
2274
|
export function agentHarnessUnionSerializer(item) {
|
|
2271
2275
|
switch (item.type) {
|
|
2276
|
+
case "microsoft_copilot_preview":
|
|
2277
|
+
return microsoftCopilotHarnessSerializer(item);
|
|
2272
2278
|
case "github_copilot_preview":
|
|
2273
2279
|
return gitHubCopilotHarnessSerializer(item);
|
|
2274
2280
|
default:
|
|
@@ -2277,6 +2283,8 @@ export function agentHarnessUnionSerializer(item) {
|
|
|
2277
2283
|
}
|
|
2278
2284
|
export function agentHarnessUnionDeserializer(item) {
|
|
2279
2285
|
switch (item["type"]) {
|
|
2286
|
+
case "microsoft_copilot_preview":
|
|
2287
|
+
return microsoftCopilotHarnessDeserializer(item);
|
|
2280
2288
|
case "github_copilot_preview":
|
|
2281
2289
|
return gitHubCopilotHarnessDeserializer(item);
|
|
2282
2290
|
default:
|
|
@@ -8288,6 +8296,7 @@ export function voiceAgentMcpToolSerializer(item) {
|
|
|
8288
8296
|
return {
|
|
8289
8297
|
type: item["type"],
|
|
8290
8298
|
server_label: item["server_label"],
|
|
8299
|
+
server_url: item["server_url"],
|
|
8291
8300
|
authorization: item["authorization"],
|
|
8292
8301
|
server_description: item["server_description"],
|
|
8293
8302
|
headers: item["headers"],
|
|
@@ -8307,7 +8316,6 @@ export function voiceAgentMcpToolSerializer(item) {
|
|
|
8307
8316
|
tool_configs: !item["tool_configs"]
|
|
8308
8317
|
? item["tool_configs"]
|
|
8309
8318
|
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
8310
|
-
server_url: item["server_url"],
|
|
8311
8319
|
response_scheduling: item["response_scheduling"],
|
|
8312
8320
|
};
|
|
8313
8321
|
}
|
|
@@ -8315,6 +8323,7 @@ export function voiceAgentMcpToolDeserializer(item) {
|
|
|
8315
8323
|
return {
|
|
8316
8324
|
type: item["type"],
|
|
8317
8325
|
server_label: item["server_label"],
|
|
8326
|
+
server_url: item["server_url"],
|
|
8318
8327
|
authorization: item["authorization"],
|
|
8319
8328
|
server_description: item["server_description"],
|
|
8320
8329
|
headers: !item["headers"]
|
|
@@ -8336,7 +8345,6 @@ export function voiceAgentMcpToolDeserializer(item) {
|
|
|
8336
8345
|
tool_configs: !item["tool_configs"]
|
|
8337
8346
|
? item["tool_configs"]
|
|
8338
8347
|
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
8339
|
-
server_url: item["server_url"],
|
|
8340
8348
|
response_scheduling: item["response_scheduling"],
|
|
8341
8349
|
};
|
|
8342
8350
|
}
|
|
@@ -8476,23 +8484,14 @@ export function createTelephonyBindingRequestSerializer(item) {
|
|
|
8476
8484
|
}
|
|
8477
8485
|
export function createTelephonyBindingRequestUnionSerializer(item) {
|
|
8478
8486
|
switch (item.provider) {
|
|
8479
|
-
case "
|
|
8480
|
-
return
|
|
8487
|
+
case "teams_phone_extensibility":
|
|
8488
|
+
return createTeamsPhoneExtensibilityTelephonyBindingRequestSerializer(item);
|
|
8481
8489
|
case "twilio":
|
|
8482
8490
|
return createTwilioTelephonyBindingRequestSerializer(item);
|
|
8483
8491
|
default:
|
|
8484
8492
|
return createTelephonyBindingRequestSerializer(item);
|
|
8485
8493
|
}
|
|
8486
8494
|
}
|
|
8487
|
-
export function createTeamsPhoneExtensionTelephonyBindingRequestSerializer(item) {
|
|
8488
|
-
return {
|
|
8489
|
-
provider: item["provider"],
|
|
8490
|
-
connection_name: item["connection_name"],
|
|
8491
|
-
label: item["label"],
|
|
8492
|
-
phone_number: item["phone_number"],
|
|
8493
|
-
resource_account_object_id: item["resource_account_object_id"],
|
|
8494
|
-
};
|
|
8495
|
-
}
|
|
8496
8495
|
export function createTwilioTelephonyBindingRequestSerializer(item) {
|
|
8497
8496
|
return {
|
|
8498
8497
|
provider: item["provider"],
|
|
@@ -8513,26 +8512,14 @@ export function telephonyBindingDeserializer(item) {
|
|
|
8513
8512
|
}
|
|
8514
8513
|
export function telephonyBindingUnionDeserializer(item) {
|
|
8515
8514
|
switch (item["provider"]) {
|
|
8516
|
-
case "
|
|
8517
|
-
return
|
|
8515
|
+
case "teams_phone_extensibility":
|
|
8516
|
+
return teamsPhoneExtensibilityTelephonyBindingDeserializer(item);
|
|
8518
8517
|
case "twilio":
|
|
8519
8518
|
return twilioTelephonyBindingDeserializer(item);
|
|
8520
8519
|
default:
|
|
8521
8520
|
return telephonyBindingDeserializer(item);
|
|
8522
8521
|
}
|
|
8523
8522
|
}
|
|
8524
|
-
export function teamsPhoneExtensionTelephonyBindingDeserializer(item) {
|
|
8525
|
-
return {
|
|
8526
|
-
id: item["id"],
|
|
8527
|
-
provider: item["provider"],
|
|
8528
|
-
connection_name: item["connection_name"],
|
|
8529
|
-
label: item["label"],
|
|
8530
|
-
status: item["status"],
|
|
8531
|
-
incoming_call_url: item["incoming_call_url"],
|
|
8532
|
-
phone_number: item["phone_number"],
|
|
8533
|
-
resource_account_object_id: item["resource_account_object_id"],
|
|
8534
|
-
};
|
|
8535
|
-
}
|
|
8536
8523
|
export function twilioTelephonyBindingDeserializer(item) {
|
|
8537
8524
|
return {
|
|
8538
8525
|
id: item["id"],
|
|
@@ -8570,27 +8557,14 @@ export function telephonyBindingListItemDeserializer(item) {
|
|
|
8570
8557
|
}
|
|
8571
8558
|
export function telephonyBindingListItemUnionDeserializer(item) {
|
|
8572
8559
|
switch (item["provider"]) {
|
|
8573
|
-
case "
|
|
8574
|
-
return
|
|
8560
|
+
case "teams_phone_extensibility":
|
|
8561
|
+
return teamsPhoneExtensibilityTelephonyBindingListItemDeserializer(item);
|
|
8575
8562
|
case "twilio":
|
|
8576
8563
|
return twilioTelephonyBindingListItemDeserializer(item);
|
|
8577
8564
|
default:
|
|
8578
8565
|
return telephonyBindingListItemDeserializer(item);
|
|
8579
8566
|
}
|
|
8580
8567
|
}
|
|
8581
|
-
export function teamsPhoneExtensionTelephonyBindingListItemDeserializer(item) {
|
|
8582
|
-
return {
|
|
8583
|
-
id: item["id"],
|
|
8584
|
-
provider: item["provider"],
|
|
8585
|
-
connection_name: item["connection_name"],
|
|
8586
|
-
label: item["label"],
|
|
8587
|
-
status: item["status"],
|
|
8588
|
-
incoming_call_url: item["incoming_call_url"],
|
|
8589
|
-
etag: item["etag"],
|
|
8590
|
-
phone_number: item["phone_number"],
|
|
8591
|
-
resource_account_object_id: item["resource_account_object_id"],
|
|
8592
|
-
};
|
|
8593
|
-
}
|
|
8594
8568
|
export function twilioTelephonyBindingListItemDeserializer(item) {
|
|
8595
8569
|
return {
|
|
8596
8570
|
id: item["id"],
|
|
@@ -8972,14 +8946,12 @@ export function voiceResponseDeserializer(item) {
|
|
|
8972
8946
|
}),
|
|
8973
8947
|
max_output_tokens: !item["max_output_tokens"]
|
|
8974
8948
|
? item["max_output_tokens"]
|
|
8975
|
-
:
|
|
8949
|
+
: _voiceResponseMaxOutputTokensDeserializer(item["max_output_tokens"]),
|
|
8976
8950
|
output: !item["output"]
|
|
8977
8951
|
? item["output"]
|
|
8978
8952
|
: realtimeConversationItemUnionArrayDeserializer(item["output"]),
|
|
8979
8953
|
audio: !item["audio"] ? item["audio"] : voiceResponseAudioDeserializer(item["audio"]),
|
|
8980
|
-
metadata: !item["metadata"]
|
|
8981
|
-
? item["metadata"]
|
|
8982
|
-
: Object.fromEntries(Object.entries(item["metadata"]).map(([k, p]) => [k, p])),
|
|
8954
|
+
metadata: !item["metadata"] ? item["metadata"] : metadataDeserializer(item["metadata"]),
|
|
8983
8955
|
temperature: item["temperature"],
|
|
8984
8956
|
created_at: item["created_at"] === undefined || item["created_at"] === null
|
|
8985
8957
|
? item["created_at"]
|
|
@@ -9502,24 +9474,6 @@ export function voiceResponseAudioOutputDeserializer(item) {
|
|
|
9502
9474
|
: realtimeAudioFormatsUnionDeserializer(item["format"]),
|
|
9503
9475
|
};
|
|
9504
9476
|
}
|
|
9505
|
-
export function voiceResponseBaseDeserializer(item) {
|
|
9506
|
-
return {
|
|
9507
|
-
object: item["object"],
|
|
9508
|
-
status: item["status"],
|
|
9509
|
-
status_details: !item["status_details"]
|
|
9510
|
-
? item["status_details"]
|
|
9511
|
-
: realtimeResponseStatusDetailsDeserializer(item["status_details"]),
|
|
9512
|
-
usage: !item["usage"] ? item["usage"] : realtimeResponseUsageDeserializer(item["usage"]),
|
|
9513
|
-
output_modalities: !item["output_modalities"]
|
|
9514
|
-
? item["output_modalities"]
|
|
9515
|
-
: item["output_modalities"].map((p) => {
|
|
9516
|
-
return p;
|
|
9517
|
-
}),
|
|
9518
|
-
max_output_tokens: !item["max_output_tokens"]
|
|
9519
|
-
? item["max_output_tokens"]
|
|
9520
|
-
: _voiceResponseBaseMaxOutputTokensDeserializer(item["max_output_tokens"]),
|
|
9521
|
-
};
|
|
9522
|
-
}
|
|
9523
9477
|
export function realtimeResponseStatusDetailsSerializer(item) {
|
|
9524
9478
|
return {
|
|
9525
9479
|
type: item["type"],
|
|
@@ -10204,6 +10158,9 @@ export function voiceAgentResponseCreateParamsSerializer(item) {
|
|
|
10204
10158
|
: _voiceAgentResponseCreateParamsMaxOutputTokensSerializer(item["max_output_tokens"]),
|
|
10205
10159
|
conversation: item["conversation"],
|
|
10206
10160
|
metadata: !item["metadata"] ? item["metadata"] : metadataSerializer(item["metadata"]),
|
|
10161
|
+
input: !item["input"]
|
|
10162
|
+
? item["input"]
|
|
10163
|
+
: realtimeConversationItemUnionArraySerializer(item["input"]),
|
|
10207
10164
|
output_modalities: !item["output_modalities"]
|
|
10208
10165
|
? item["output_modalities"]
|
|
10209
10166
|
: item["output_modalities"].map((p) => {
|
|
@@ -10212,9 +10169,6 @@ export function voiceAgentResponseCreateParamsSerializer(item) {
|
|
|
10212
10169
|
audio: !item["audio"]
|
|
10213
10170
|
? item["audio"]
|
|
10214
10171
|
: pickPropertiesVoiceAgentAudioConfigSerializer(item["audio"]),
|
|
10215
|
-
input: !item["input"]
|
|
10216
|
-
? item["input"]
|
|
10217
|
-
: realtimeConversationItemUnionArraySerializer(item["input"]),
|
|
10218
10172
|
pre_generated_assistant_message: !item["pre_generated_assistant_message"]
|
|
10219
10173
|
? item["pre_generated_assistant_message"]
|
|
10220
10174
|
: realtimeConversationItemUnionSerializer(item["pre_generated_assistant_message"]),
|
|
@@ -10241,6 +10195,9 @@ export function voiceAgentResponseCreateParamsDeserializer(item) {
|
|
|
10241
10195
|
: _voiceAgentResponseCreateParamsMaxOutputTokensDeserializer(item["max_output_tokens"]),
|
|
10242
10196
|
conversation: item["conversation"],
|
|
10243
10197
|
metadata: !item["metadata"] ? item["metadata"] : metadataDeserializer(item["metadata"]),
|
|
10198
|
+
input: !item["input"]
|
|
10199
|
+
? item["input"]
|
|
10200
|
+
: realtimeConversationItemUnionArrayDeserializer(item["input"]),
|
|
10244
10201
|
output_modalities: !item["output_modalities"]
|
|
10245
10202
|
? item["output_modalities"]
|
|
10246
10203
|
: item["output_modalities"].map((p) => {
|
|
@@ -10249,9 +10206,6 @@ export function voiceAgentResponseCreateParamsDeserializer(item) {
|
|
|
10249
10206
|
audio: !item["audio"]
|
|
10250
10207
|
? item["audio"]
|
|
10251
10208
|
: pickPropertiesVoiceAgentAudioConfigDeserializer(item["audio"]),
|
|
10252
|
-
input: !item["input"]
|
|
10253
|
-
? item["input"]
|
|
10254
|
-
: realtimeConversationItemUnionArrayDeserializer(item["input"]),
|
|
10255
10209
|
pre_generated_assistant_message: !item["pre_generated_assistant_message"]
|
|
10256
10210
|
? item["pre_generated_assistant_message"]
|
|
10257
10211
|
: realtimeConversationItemUnionDeserializer(item["pre_generated_assistant_message"]),
|
|
@@ -11224,6 +11178,9 @@ export function voiceAgentRealtimeResponseSerializer(item) {
|
|
|
11224
11178
|
status_details: !item["status_details"]
|
|
11225
11179
|
? item["status_details"]
|
|
11226
11180
|
: realtimeResponseStatusDetailsSerializer(item["status_details"]),
|
|
11181
|
+
output: !item["output"]
|
|
11182
|
+
? item["output"]
|
|
11183
|
+
: realtimeConversationItemUnionArraySerializer(item["output"]),
|
|
11227
11184
|
metadata: !item["metadata"] ? item["metadata"] : metadataSerializer(item["metadata"]),
|
|
11228
11185
|
usage: !item["usage"] ? item["usage"] : realtimeResponseUsageSerializer(item["usage"]),
|
|
11229
11186
|
conversation_id: item["conversation_id"],
|
|
@@ -11234,11 +11191,8 @@ export function voiceAgentRealtimeResponseSerializer(item) {
|
|
|
11234
11191
|
}),
|
|
11235
11192
|
max_output_tokens: !item["max_output_tokens"]
|
|
11236
11193
|
? item["max_output_tokens"]
|
|
11237
|
-
:
|
|
11194
|
+
: _voiceResponseMaxOutputTokensSerializer(item["max_output_tokens"]),
|
|
11238
11195
|
audio: !item["audio"] ? item["audio"] : voiceResponseAudioSerializer(item["audio"]),
|
|
11239
|
-
output: !item["output"]
|
|
11240
|
-
? item["output"]
|
|
11241
|
-
: realtimeConversationItemUnionArraySerializer(item["output"]),
|
|
11242
11196
|
};
|
|
11243
11197
|
}
|
|
11244
11198
|
export function voiceAgentRealtimeResponseDeserializer(item) {
|
|
@@ -11249,6 +11203,9 @@ export function voiceAgentRealtimeResponseDeserializer(item) {
|
|
|
11249
11203
|
status_details: !item["status_details"]
|
|
11250
11204
|
? item["status_details"]
|
|
11251
11205
|
: realtimeResponseStatusDetailsDeserializer(item["status_details"]),
|
|
11206
|
+
output: !item["output"]
|
|
11207
|
+
? item["output"]
|
|
11208
|
+
: realtimeConversationItemUnionArrayDeserializer(item["output"]),
|
|
11252
11209
|
metadata: !item["metadata"] ? item["metadata"] : metadataDeserializer(item["metadata"]),
|
|
11253
11210
|
usage: !item["usage"] ? item["usage"] : realtimeResponseUsageDeserializer(item["usage"]),
|
|
11254
11211
|
conversation_id: item["conversation_id"],
|
|
@@ -11259,11 +11216,8 @@ export function voiceAgentRealtimeResponseDeserializer(item) {
|
|
|
11259
11216
|
}),
|
|
11260
11217
|
max_output_tokens: !item["max_output_tokens"]
|
|
11261
11218
|
? item["max_output_tokens"]
|
|
11262
|
-
:
|
|
11219
|
+
: _voiceResponseMaxOutputTokensDeserializer(item["max_output_tokens"]),
|
|
11263
11220
|
audio: !item["audio"] ? item["audio"] : voiceResponseAudioDeserializer(item["audio"]),
|
|
11264
|
-
output: !item["output"]
|
|
11265
|
-
? item["output"]
|
|
11266
|
-
: realtimeConversationItemUnionArrayDeserializer(item["output"]),
|
|
11267
11221
|
};
|
|
11268
11222
|
}
|
|
11269
11223
|
export function realtimeServerEventResponseDoneSerializer(item) {
|
|
@@ -11972,48 +11926,6 @@ export function createTranscriptionResponseJsonUsageUnionDeserializer(item) {
|
|
|
11972
11926
|
return createTranscriptionResponseJsonUsageDeserializer(item);
|
|
11973
11927
|
}
|
|
11974
11928
|
}
|
|
11975
|
-
export function voiceAgentRealtimeResponseBaseSerializer(item) {
|
|
11976
|
-
return {
|
|
11977
|
-
id: item["id"],
|
|
11978
|
-
object: item["object"],
|
|
11979
|
-
status: item["status"],
|
|
11980
|
-
status_details: !item["status_details"]
|
|
11981
|
-
? item["status_details"]
|
|
11982
|
-
: realtimeResponseStatusDetailsSerializer(item["status_details"]),
|
|
11983
|
-
metadata: !item["metadata"] ? item["metadata"] : metadataSerializer(item["metadata"]),
|
|
11984
|
-
usage: !item["usage"] ? item["usage"] : realtimeResponseUsageSerializer(item["usage"]),
|
|
11985
|
-
conversation_id: item["conversation_id"],
|
|
11986
|
-
output_modalities: !item["output_modalities"]
|
|
11987
|
-
? item["output_modalities"]
|
|
11988
|
-
: item["output_modalities"].map((p) => {
|
|
11989
|
-
return p;
|
|
11990
|
-
}),
|
|
11991
|
-
max_output_tokens: !item["max_output_tokens"]
|
|
11992
|
-
? item["max_output_tokens"]
|
|
11993
|
-
: _voiceResponseBaseMaxOutputTokensSerializer(item["max_output_tokens"]),
|
|
11994
|
-
};
|
|
11995
|
-
}
|
|
11996
|
-
export function voiceAgentRealtimeResponseBaseDeserializer(item) {
|
|
11997
|
-
return {
|
|
11998
|
-
id: item["id"],
|
|
11999
|
-
object: item["object"],
|
|
12000
|
-
status: item["status"],
|
|
12001
|
-
status_details: !item["status_details"]
|
|
12002
|
-
? item["status_details"]
|
|
12003
|
-
: realtimeResponseStatusDetailsDeserializer(item["status_details"]),
|
|
12004
|
-
metadata: !item["metadata"] ? item["metadata"] : metadataDeserializer(item["metadata"]),
|
|
12005
|
-
usage: !item["usage"] ? item["usage"] : realtimeResponseUsageDeserializer(item["usage"]),
|
|
12006
|
-
conversation_id: item["conversation_id"],
|
|
12007
|
-
output_modalities: !item["output_modalities"]
|
|
12008
|
-
? item["output_modalities"]
|
|
12009
|
-
: item["output_modalities"].map((p) => {
|
|
12010
|
-
return p;
|
|
12011
|
-
}),
|
|
12012
|
-
max_output_tokens: !item["max_output_tokens"]
|
|
12013
|
-
? item["max_output_tokens"]
|
|
12014
|
-
: _voiceResponseBaseMaxOutputTokensDeserializer(item["max_output_tokens"]),
|
|
12015
|
-
};
|
|
12016
|
-
}
|
|
12017
11929
|
export function realtimeServerEventErrorErrorSerializer(item) {
|
|
12018
11930
|
return {
|
|
12019
11931
|
type: item["type"],
|
|
@@ -13274,4 +13186,101 @@ export function reinforcementFineTuningDataGenerationJobOutputConfigurationDeser
|
|
|
13274
13186
|
merge_file_id: item["merge_file_id"],
|
|
13275
13187
|
};
|
|
13276
13188
|
}
|
|
13189
|
+
export function createTeamsPhoneExtensibilityTelephonyBindingRequestSerializer(item) {
|
|
13190
|
+
return {
|
|
13191
|
+
provider: item["provider"],
|
|
13192
|
+
connection_name: item["connection_name"],
|
|
13193
|
+
label: item["label"],
|
|
13194
|
+
phone_number: item["phone_number"],
|
|
13195
|
+
resource_account_object_id: item["resource_account_object_id"],
|
|
13196
|
+
};
|
|
13197
|
+
}
|
|
13198
|
+
export function teamsPhoneExtensibilityTelephonyBindingDeserializer(item) {
|
|
13199
|
+
return {
|
|
13200
|
+
id: item["id"],
|
|
13201
|
+
provider: item["provider"],
|
|
13202
|
+
connection_name: item["connection_name"],
|
|
13203
|
+
label: item["label"],
|
|
13204
|
+
status: item["status"],
|
|
13205
|
+
incoming_call_url: item["incoming_call_url"],
|
|
13206
|
+
phone_number: item["phone_number"],
|
|
13207
|
+
resource_account_object_id: item["resource_account_object_id"],
|
|
13208
|
+
};
|
|
13209
|
+
}
|
|
13210
|
+
export function teamsPhoneExtensibilityTelephonyBindingListItemDeserializer(item) {
|
|
13211
|
+
return {
|
|
13212
|
+
id: item["id"],
|
|
13213
|
+
provider: item["provider"],
|
|
13214
|
+
connection_name: item["connection_name"],
|
|
13215
|
+
label: item["label"],
|
|
13216
|
+
status: item["status"],
|
|
13217
|
+
incoming_call_url: item["incoming_call_url"],
|
|
13218
|
+
etag: item["etag"],
|
|
13219
|
+
phone_number: item["phone_number"],
|
|
13220
|
+
resource_account_object_id: item["resource_account_object_id"],
|
|
13221
|
+
};
|
|
13222
|
+
}
|
|
13223
|
+
export function _voiceResponseMaxOutputTokensSerializer(item) {
|
|
13224
|
+
return item;
|
|
13225
|
+
}
|
|
13226
|
+
export function _voiceResponseMaxOutputTokensDeserializer(item) {
|
|
13227
|
+
return item;
|
|
13228
|
+
}
|
|
13229
|
+
export function microsoftCopilotHarnessSerializer(item) {
|
|
13230
|
+
return { type: item["type"] };
|
|
13231
|
+
}
|
|
13232
|
+
export function microsoftCopilotHarnessDeserializer(item) {
|
|
13233
|
+
return {
|
|
13234
|
+
type: item["type"],
|
|
13235
|
+
};
|
|
13236
|
+
}
|
|
13237
|
+
export function microsoftCopilotToolsetPreviewSerializer(item) {
|
|
13238
|
+
return {
|
|
13239
|
+
type: item["type"],
|
|
13240
|
+
default_config: !item["default_config"]
|
|
13241
|
+
? item["default_config"]
|
|
13242
|
+
: microsoftCopilotToolsetDefaultConfigSerializer(item["default_config"]),
|
|
13243
|
+
configs: !item["configs"]
|
|
13244
|
+
? item["configs"]
|
|
13245
|
+
: microsoftCopilotToolsetConfigArraySerializer(item["configs"]),
|
|
13246
|
+
};
|
|
13247
|
+
}
|
|
13248
|
+
export function microsoftCopilotToolsetPreviewDeserializer(item) {
|
|
13249
|
+
return {
|
|
13250
|
+
type: item["type"],
|
|
13251
|
+
default_config: !item["default_config"]
|
|
13252
|
+
? item["default_config"]
|
|
13253
|
+
: microsoftCopilotToolsetDefaultConfigDeserializer(item["default_config"]),
|
|
13254
|
+
configs: !item["configs"]
|
|
13255
|
+
? item["configs"]
|
|
13256
|
+
: microsoftCopilotToolsetConfigArrayDeserializer(item["configs"]),
|
|
13257
|
+
};
|
|
13258
|
+
}
|
|
13259
|
+
export function microsoftCopilotToolsetDefaultConfigSerializer(item) {
|
|
13260
|
+
return { enabled: item["enabled"] };
|
|
13261
|
+
}
|
|
13262
|
+
export function microsoftCopilotToolsetDefaultConfigDeserializer(item) {
|
|
13263
|
+
return {
|
|
13264
|
+
enabled: item["enabled"],
|
|
13265
|
+
};
|
|
13266
|
+
}
|
|
13267
|
+
export function microsoftCopilotToolsetConfigArraySerializer(result) {
|
|
13268
|
+
return result.map((item) => {
|
|
13269
|
+
return microsoftCopilotToolsetConfigSerializer(item);
|
|
13270
|
+
});
|
|
13271
|
+
}
|
|
13272
|
+
export function microsoftCopilotToolsetConfigArrayDeserializer(result) {
|
|
13273
|
+
return result.map((item) => {
|
|
13274
|
+
return microsoftCopilotToolsetConfigDeserializer(item);
|
|
13275
|
+
});
|
|
13276
|
+
}
|
|
13277
|
+
export function microsoftCopilotToolsetConfigSerializer(item) {
|
|
13278
|
+
return { name: item["name"], enabled: item["enabled"] };
|
|
13279
|
+
}
|
|
13280
|
+
export function microsoftCopilotToolsetConfigDeserializer(item) {
|
|
13281
|
+
return {
|
|
13282
|
+
name: item["name"],
|
|
13283
|
+
enabled: item["enabled"],
|
|
13284
|
+
};
|
|
13285
|
+
}
|
|
13277
13286
|
//# sourceMappingURL=models.js.map
|