@azure/ai-projects 2.5.0 → 2.7.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 +71 -2
- package/dist/browser/aiProjectClient.d.ts +1 -0
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +16 -1
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/api/agents/index.d.ts +2 -2
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts +23 -2
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +169 -3
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +243 -2
- package/dist/browser/api/agents/options.d.ts.map +1 -1
- package/dist/browser/api/agents/options.js.map +1 -1
- package/dist/browser/api/aiProjectContext.d.ts +3 -0
- package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
- package/dist/browser/api/aiProjectContext.js.map +1 -1
- package/dist/browser/api/beta/agentInsightMonitors/index.d.ts +3 -0
- package/dist/browser/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/index.js +4 -0
- package/dist/browser/api/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.js +519 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.js.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.js +4 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.js.map +1 -0
- package/dist/browser/api/beta/agents/index.d.ts +2 -2
- package/dist/browser/api/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/index.js +1 -1
- package/dist/browser/api/beta/agents/index.js.map +1 -1
- package/dist/browser/api/beta/agents/operations.d.ts +9 -2
- package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/operations.js +38 -1
- package/dist/browser/api/beta/agents/operations.js.map +1 -1
- package/dist/browser/api/beta/agents/options.d.ts +3 -0
- package/dist/browser/api/beta/agents/options.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/options.js.map +1 -1
- package/dist/browser/api/beta/datasets/operations.d.ts +1 -1
- package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/datasets/operations.js.map +1 -1
- package/dist/browser/api/beta/models/options.d.ts +1 -1
- package/dist/browser/api/beta/models/options.d.ts.map +1 -1
- package/dist/browser/api/beta/models/options.js.map +1 -1
- package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/operations.js +4 -1
- package/dist/browser/api/beta/routines/operations.js.map +1 -1
- package/dist/browser/api/beta/routines/options.d.ts +3 -1
- package/dist/browser/api/beta/routines/options.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/options.js.map +1 -1
- package/dist/browser/api/beta/voiceAgents/conversations/index.d.ts +3 -0
- package/dist/browser/api/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/browser/api/beta/voiceAgents/conversations/index.js +4 -0
- package/dist/browser/api/beta/voiceAgents/conversations/index.js.map +1 -0
- package/dist/browser/api/beta/voiceAgents/conversations/operations.d.ts +140 -0
- package/dist/browser/api/beta/voiceAgents/conversations/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/voiceAgents/conversations/operations.js +635 -0
- package/dist/browser/api/beta/voiceAgents/conversations/operations.js.map +1 -0
- package/dist/browser/api/beta/voiceAgents/conversations/options.d.ts +133 -0
- package/dist/browser/api/beta/voiceAgents/conversations/options.d.ts.map +1 -0
- package/dist/browser/api/beta/voiceAgents/conversations/options.js +4 -0
- package/dist/browser/api/beta/voiceAgents/conversations/options.js.map +1 -0
- package/dist/browser/api/beta/voiceAgents/telephony/index.d.ts +3 -0
- package/dist/browser/api/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/browser/api/beta/voiceAgents/telephony/index.js +4 -0
- package/dist/browser/api/beta/voiceAgents/telephony/index.js.map +1 -0
- package/dist/browser/api/beta/voiceAgents/telephony/operations.d.ts +62 -0
- package/dist/browser/api/beta/voiceAgents/telephony/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/voiceAgents/telephony/operations.js +559 -0
- package/dist/browser/api/beta/voiceAgents/telephony/operations.js.map +1 -0
- package/dist/browser/api/beta/voiceAgents/telephony/options.d.ts +133 -0
- package/dist/browser/api/beta/voiceAgents/telephony/options.d.ts.map +1 -0
- package/dist/browser/api/beta/voiceAgents/telephony/options.js +4 -0
- package/dist/browser/api/beta/voiceAgents/telephony/options.js.map +1 -0
- package/dist/browser/api/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/datasets/operations.js +1 -3
- package/dist/browser/api/datasets/operations.js.map +1 -1
- package/dist/browser/api/toolboxes/index.d.ts +2 -2
- package/dist/browser/api/toolboxes/index.d.ts.map +1 -1
- package/dist/browser/api/toolboxes/index.js +1 -1
- package/dist/browser/api/toolboxes/index.js.map +1 -1
- package/dist/browser/api/toolboxes/operations.d.ts +6 -2
- package/dist/browser/api/toolboxes/operations.d.ts.map +1 -1
- package/dist/browser/api/toolboxes/operations.js +33 -0
- package/dist/browser/api/toolboxes/operations.js.map +1 -1
- package/dist/browser/api/toolboxes/options.d.ts +3 -0
- package/dist/browser/api/toolboxes/options.d.ts.map +1 -1
- package/dist/browser/api/toolboxes/options.js.map +1 -1
- package/dist/browser/classic/agents/index.d.ts +17 -2
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js +4 -1
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/browser/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/agentInsightMonitors/index.js +26 -0
- package/dist/browser/classic/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/browser/classic/beta/agents/index.d.ts +8 -3
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/agents/index.js +3 -4
- package/dist/browser/classic/beta/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/index.d.ts +9 -1
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +7 -1
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/routines/index.d.ts +1 -1
- package/dist/browser/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/routines/index.js.map +1 -1
- package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts +115 -0
- package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/voiceAgents/conversations/index.js +25 -0
- package/dist/browser/classic/beta/voiceAgents/conversations/index.js.map +1 -0
- package/dist/browser/classic/beta/voiceAgents/index.d.ts +16 -0
- package/dist/browser/classic/beta/voiceAgents/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/voiceAgents/index.js +16 -0
- package/dist/browser/classic/beta/voiceAgents/index.js.map +1 -0
- package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts +37 -0
- package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/voiceAgents/telephony/index.js +25 -0
- package/dist/browser/classic/beta/voiceAgents/telephony/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +3 -0
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/toolboxes/index.d.ts +4 -2
- package/dist/browser/classic/toolboxes/index.d.ts.map +1 -1
- package/dist/browser/classic/toolboxes/index.js +2 -1
- package/dist/browser/classic/toolboxes/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/deprecate.interface.d.ts +16 -4
- package/dist/browser/deprecate.interface.d.ts.map +1 -1
- package/dist/browser/deprecate.interface.js.map +1 -1
- package/dist/browser/index.d.ts +20 -6
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +3 -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 +4840 -33
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +5520 -22
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/package.json +6 -1
- package/dist/browser/realtime/asyncQueue.d.ts +29 -0
- package/dist/browser/realtime/asyncQueue.d.ts.map +1 -0
- package/dist/browser/realtime/asyncQueue.js +105 -0
- package/dist/browser/realtime/asyncQueue.js.map +1 -0
- package/dist/browser/realtime/errors.d.ts +34 -0
- package/dist/browser/realtime/errors.d.ts.map +1 -0
- package/dist/browser/realtime/errors.js +40 -0
- package/dist/browser/realtime/errors.js.map +1 -0
- package/dist/browser/realtime/events.d.ts +24 -0
- package/dist/browser/realtime/events.d.ts.map +1 -0
- package/dist/browser/realtime/events.js +4 -0
- package/dist/browser/realtime/events.js.map +1 -0
- package/dist/browser/realtime/protocol.d.ts +7 -0
- package/dist/browser/realtime/protocol.d.ts.map +1 -0
- package/dist/browser/realtime/protocol.js +262 -0
- package/dist/browser/realtime/protocol.js.map +1 -0
- package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts +145 -0
- package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts.map +1 -0
- package/dist/browser/realtime/voiceAgentRealtimeClient.js +376 -0
- package/dist/browser/realtime/voiceAgentRealtimeClient.js.map +1 -0
- package/dist/browser/realtime/webSocketTransportLike.d.ts +44 -0
- package/dist/browser/realtime/webSocketTransportLike.d.ts.map +1 -0
- package/dist/browser/realtime/webSocketTransportLike.js +4 -0
- package/dist/browser/realtime/webSocketTransportLike.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +3 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +26 -12
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js +12 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/browser/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/browser/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/browser/static-helpers/serialization/parse-json-object.js +14 -0
- package/dist/browser/static-helpers/serialization/parse-json-object.js.map +1 -0
- package/dist/browser/tracing/configuration.js +1 -1
- package/dist/browser/tracing/configuration.js.map +1 -1
- package/dist/browser/webSocketTransport.d.ts +31 -0
- package/dist/browser/webSocketTransport.d.ts.map +1 -0
- package/dist/browser/webSocketTransport.js +218 -0
- package/dist/browser/webSocketTransport.js.map +1 -0
- package/dist/commonjs/aiProjectClient.d.ts +1 -0
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +16 -1
- package/dist/commonjs/aiProjectClient.js.map +2 -2
- package/dist/commonjs/api/agents/index.d.ts +2 -2
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js +6 -0
- package/dist/commonjs/api/agents/index.js.map +2 -2
- package/dist/commonjs/api/agents/operations.d.ts +23 -2
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +176 -4
- package/dist/commonjs/api/agents/operations.js.map +2 -2
- package/dist/commonjs/api/agents/options.d.ts +243 -2
- package/dist/commonjs/api/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/agents/options.js.map +1 -1
- package/dist/commonjs/api/aiProjectContext.d.ts +3 -0
- package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
- package/dist/commonjs/api/aiProjectContext.js.map +2 -2
- package/dist/commonjs/api/beta/agentInsightMonitors/index.d.ts +3 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/index.js +52 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/index.js.map +7 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.js +678 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.js.map +7 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.js +16 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.js.map +7 -0
- package/dist/commonjs/api/beta/agents/index.d.ts +2 -2
- package/dist/commonjs/api/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/index.js +2 -0
- package/dist/commonjs/api/beta/agents/index.js.map +2 -2
- package/dist/commonjs/api/beta/agents/operations.d.ts +9 -2
- package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/operations.js +43 -0
- package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
- package/dist/commonjs/api/beta/agents/options.d.ts +3 -0
- package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/options.js.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.d.ts +1 -1
- package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.js.map +1 -1
- package/dist/commonjs/api/beta/models/options.d.ts +1 -1
- package/dist/commonjs/api/beta/models/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/models/options.js.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.js +2 -1
- package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
- package/dist/commonjs/api/beta/routines/options.d.ts +3 -1
- package/dist/commonjs/api/beta/routines/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/options.js.map +1 -1
- package/dist/commonjs/api/beta/voiceAgents/conversations/index.d.ts +3 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/index.js +54 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/index.js.map +7 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/operations.d.ts +140 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/operations.js +747 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/operations.js.map +7 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/options.d.ts +133 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/options.js +16 -0
- package/dist/commonjs/api/beta/voiceAgents/conversations/options.js.map +7 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/index.d.ts +3 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/index.js +54 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/index.js.map +7 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/operations.d.ts +62 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/operations.js +683 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/operations.js.map +7 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/options.d.ts +133 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/options.js +16 -0
- package/dist/commonjs/api/beta/voiceAgents/telephony/options.js.map +7 -0
- package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/operations.js +0 -6
- package/dist/commonjs/api/datasets/operations.js.map +2 -2
- package/dist/commonjs/api/toolboxes/index.d.ts +2 -2
- package/dist/commonjs/api/toolboxes/index.d.ts.map +1 -1
- package/dist/commonjs/api/toolboxes/index.js +2 -0
- package/dist/commonjs/api/toolboxes/index.js.map +2 -2
- package/dist/commonjs/api/toolboxes/operations.d.ts +6 -2
- package/dist/commonjs/api/toolboxes/operations.d.ts.map +1 -1
- package/dist/commonjs/api/toolboxes/operations.js +42 -0
- package/dist/commonjs/api/toolboxes/operations.js.map +2 -2
- package/dist/commonjs/api/toolboxes/options.d.ts +3 -0
- package/dist/commonjs/api/toolboxes/options.d.ts.map +1 -1
- package/dist/commonjs/api/toolboxes/options.js.map +1 -1
- package/dist/commonjs/classic/agents/index.d.ts +17 -2
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +3 -0
- package/dist/commonjs/classic/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.js +50 -0
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.js.map +7 -0
- package/dist/commonjs/classic/beta/agents/index.d.ts +8 -3
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.js +3 -4
- package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/index.d.ts +9 -1
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +8 -2
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- package/dist/commonjs/classic/beta/routines/index.d.ts +1 -1
- package/dist/commonjs/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/routines/index.js.map +1 -1
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts +115 -0
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js +49 -0
- package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js.map +7 -0
- package/dist/commonjs/classic/beta/voiceAgents/index.d.ts +16 -0
- package/dist/commonjs/classic/beta/voiceAgents/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/voiceAgents/index.js +40 -0
- package/dist/commonjs/classic/beta/voiceAgents/index.js.map +7 -0
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts +37 -0
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js +49 -0
- package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +3 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/toolboxes/index.d.ts +4 -2
- package/dist/commonjs/classic/toolboxes/index.d.ts.map +1 -1
- package/dist/commonjs/classic/toolboxes/index.js +1 -0
- package/dist/commonjs/classic/toolboxes/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/deprecate.interface.d.ts +16 -4
- package/dist/commonjs/deprecate.interface.d.ts.map +1 -1
- package/dist/commonjs/deprecate.interface.js.map +1 -1
- package/dist/commonjs/index.d.ts +20 -6
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +14 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +3 -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 +4840 -33
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +6567 -79
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/package.json +6 -1
- package/dist/commonjs/realtime/asyncQueue.d.ts +29 -0
- package/dist/commonjs/realtime/asyncQueue.d.ts.map +1 -0
- package/dist/commonjs/realtime/asyncQueue.js +127 -0
- package/dist/commonjs/realtime/asyncQueue.js.map +7 -0
- package/dist/commonjs/realtime/errors.d.ts +34 -0
- package/dist/commonjs/realtime/errors.d.ts.map +1 -0
- package/dist/commonjs/realtime/errors.js +66 -0
- package/dist/commonjs/realtime/errors.js.map +7 -0
- package/dist/commonjs/realtime/events.d.ts +24 -0
- package/dist/commonjs/realtime/events.d.ts.map +1 -0
- package/dist/commonjs/realtime/events.js +16 -0
- package/dist/commonjs/realtime/events.js.map +7 -0
- package/dist/commonjs/realtime/protocol.d.ts +7 -0
- package/dist/commonjs/realtime/protocol.d.ts.map +1 -0
- package/dist/commonjs/realtime/protocol.js +297 -0
- package/dist/commonjs/realtime/protocol.js.map +7 -0
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts +145 -0
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts.map +1 -0
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.js +443 -0
- package/dist/commonjs/realtime/voiceAgentRealtimeClient.js.map +7 -0
- package/dist/commonjs/realtime/webSocketTransportLike.d.ts +44 -0
- package/dist/commonjs/realtime/webSocketTransportLike.d.ts.map +1 -0
- package/dist/commonjs/realtime/webSocketTransportLike.js +16 -0
- package/dist/commonjs/realtime/webSocketTransportLike.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +3 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +29 -8
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js +15 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js.map +2 -2
- package/dist/commonjs/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/commonjs/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/serialization/parse-json-object.js +35 -0
- package/dist/commonjs/static-helpers/serialization/parse-json-object.js.map +7 -0
- package/dist/commonjs/tracing/configuration.js +1 -1
- package/dist/commonjs/tracing/configuration.js.map +2 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/webSocketTransport.d.ts +15 -0
- package/dist/commonjs/webSocketTransport.d.ts.map +1 -0
- package/dist/commonjs/webSocketTransport.js +232 -0
- package/dist/commonjs/webSocketTransport.js.map +7 -0
- package/dist/esm/aiProjectClient.d.ts +1 -0
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +16 -1
- package/dist/esm/aiProjectClient.js.map +1 -1
- package/dist/esm/api/agents/index.d.ts +2 -2
- package/dist/esm/api/agents/index.d.ts.map +1 -1
- package/dist/esm/api/agents/index.js +1 -1
- package/dist/esm/api/agents/index.js.map +1 -1
- package/dist/esm/api/agents/operations.d.ts +23 -2
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +169 -3
- package/dist/esm/api/agents/operations.js.map +1 -1
- package/dist/esm/api/agents/options.d.ts +243 -2
- package/dist/esm/api/agents/options.d.ts.map +1 -1
- package/dist/esm/api/agents/options.js.map +1 -1
- package/dist/esm/api/aiProjectContext.d.ts +3 -0
- package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
- package/dist/esm/api/aiProjectContext.js.map +1 -1
- package/dist/esm/api/beta/agentInsightMonitors/index.d.ts +3 -0
- package/dist/esm/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/index.js +4 -0
- package/dist/esm/api/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.js +519 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.js.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.js +4 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.js.map +1 -0
- package/dist/esm/api/beta/agents/index.d.ts +2 -2
- package/dist/esm/api/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/index.js +1 -1
- package/dist/esm/api/beta/agents/index.js.map +1 -1
- package/dist/esm/api/beta/agents/operations.d.ts +9 -2
- package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/operations.js +38 -1
- package/dist/esm/api/beta/agents/operations.js.map +1 -1
- package/dist/esm/api/beta/agents/options.d.ts +3 -0
- package/dist/esm/api/beta/agents/options.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/options.js.map +1 -1
- package/dist/esm/api/beta/datasets/operations.d.ts +1 -1
- package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/datasets/operations.js.map +1 -1
- package/dist/esm/api/beta/models/options.d.ts +1 -1
- package/dist/esm/api/beta/models/options.d.ts.map +1 -1
- package/dist/esm/api/beta/models/options.js.map +1 -1
- package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/operations.js +4 -1
- package/dist/esm/api/beta/routines/operations.js.map +1 -1
- package/dist/esm/api/beta/routines/options.d.ts +3 -1
- package/dist/esm/api/beta/routines/options.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/options.js.map +1 -1
- package/dist/esm/api/beta/voiceAgents/conversations/index.d.ts +3 -0
- package/dist/esm/api/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/esm/api/beta/voiceAgents/conversations/index.js +4 -0
- package/dist/esm/api/beta/voiceAgents/conversations/index.js.map +1 -0
- package/dist/esm/api/beta/voiceAgents/conversations/operations.d.ts +140 -0
- package/dist/esm/api/beta/voiceAgents/conversations/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/voiceAgents/conversations/operations.js +635 -0
- package/dist/esm/api/beta/voiceAgents/conversations/operations.js.map +1 -0
- package/dist/esm/api/beta/voiceAgents/conversations/options.d.ts +133 -0
- package/dist/esm/api/beta/voiceAgents/conversations/options.d.ts.map +1 -0
- package/dist/esm/api/beta/voiceAgents/conversations/options.js +4 -0
- package/dist/esm/api/beta/voiceAgents/conversations/options.js.map +1 -0
- package/dist/esm/api/beta/voiceAgents/telephony/index.d.ts +3 -0
- package/dist/esm/api/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/esm/api/beta/voiceAgents/telephony/index.js +4 -0
- package/dist/esm/api/beta/voiceAgents/telephony/index.js.map +1 -0
- package/dist/esm/api/beta/voiceAgents/telephony/operations.d.ts +62 -0
- package/dist/esm/api/beta/voiceAgents/telephony/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/voiceAgents/telephony/operations.js +559 -0
- package/dist/esm/api/beta/voiceAgents/telephony/operations.js.map +1 -0
- package/dist/esm/api/beta/voiceAgents/telephony/options.d.ts +133 -0
- package/dist/esm/api/beta/voiceAgents/telephony/options.d.ts.map +1 -0
- package/dist/esm/api/beta/voiceAgents/telephony/options.js +4 -0
- package/dist/esm/api/beta/voiceAgents/telephony/options.js.map +1 -0
- package/dist/esm/api/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/datasets/operations.js +1 -3
- package/dist/esm/api/datasets/operations.js.map +1 -1
- package/dist/esm/api/toolboxes/index.d.ts +2 -2
- package/dist/esm/api/toolboxes/index.d.ts.map +1 -1
- package/dist/esm/api/toolboxes/index.js +1 -1
- package/dist/esm/api/toolboxes/index.js.map +1 -1
- package/dist/esm/api/toolboxes/operations.d.ts +6 -2
- package/dist/esm/api/toolboxes/operations.d.ts.map +1 -1
- package/dist/esm/api/toolboxes/operations.js +33 -0
- package/dist/esm/api/toolboxes/operations.js.map +1 -1
- package/dist/esm/api/toolboxes/options.d.ts +3 -0
- package/dist/esm/api/toolboxes/options.d.ts.map +1 -1
- package/dist/esm/api/toolboxes/options.js.map +1 -1
- package/dist/esm/classic/agents/index.d.ts +17 -2
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +4 -1
- package/dist/esm/classic/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/esm/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/agentInsightMonitors/index.js +26 -0
- package/dist/esm/classic/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/esm/classic/beta/agents/index.d.ts +8 -3
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/agents/index.js +3 -4
- package/dist/esm/classic/beta/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/index.d.ts +9 -1
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +7 -1
- package/dist/esm/classic/beta/index.js.map +1 -1
- package/dist/esm/classic/beta/routines/index.d.ts +1 -1
- package/dist/esm/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/routines/index.js.map +1 -1
- package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts +115 -0
- package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/voiceAgents/conversations/index.js +25 -0
- package/dist/esm/classic/beta/voiceAgents/conversations/index.js.map +1 -0
- package/dist/esm/classic/beta/voiceAgents/index.d.ts +16 -0
- package/dist/esm/classic/beta/voiceAgents/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/voiceAgents/index.js +16 -0
- package/dist/esm/classic/beta/voiceAgents/index.js.map +1 -0
- package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts +37 -0
- package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/voiceAgents/telephony/index.js +25 -0
- package/dist/esm/classic/beta/voiceAgents/telephony/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +3 -0
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/toolboxes/index.d.ts +4 -2
- package/dist/esm/classic/toolboxes/index.d.ts.map +1 -1
- package/dist/esm/classic/toolboxes/index.js +2 -1
- package/dist/esm/classic/toolboxes/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/deprecate.interface.d.ts +16 -4
- package/dist/esm/deprecate.interface.d.ts.map +1 -1
- package/dist/esm/deprecate.interface.js.map +1 -1
- package/dist/esm/index.d.ts +20 -6
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +3 -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 +4840 -33
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +5520 -22
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/package.json +6 -1
- package/dist/esm/realtime/asyncQueue.d.ts +29 -0
- package/dist/esm/realtime/asyncQueue.d.ts.map +1 -0
- package/dist/esm/realtime/asyncQueue.js +105 -0
- package/dist/esm/realtime/asyncQueue.js.map +1 -0
- package/dist/esm/realtime/errors.d.ts +34 -0
- package/dist/esm/realtime/errors.d.ts.map +1 -0
- package/dist/esm/realtime/errors.js +40 -0
- package/dist/esm/realtime/errors.js.map +1 -0
- package/dist/esm/realtime/events.d.ts +24 -0
- package/dist/esm/realtime/events.d.ts.map +1 -0
- package/dist/esm/realtime/events.js +4 -0
- package/dist/esm/realtime/events.js.map +1 -0
- package/dist/esm/realtime/protocol.d.ts +7 -0
- package/dist/esm/realtime/protocol.d.ts.map +1 -0
- package/dist/esm/realtime/protocol.js +262 -0
- package/dist/esm/realtime/protocol.js.map +1 -0
- package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts +145 -0
- package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts.map +1 -0
- package/dist/esm/realtime/voiceAgentRealtimeClient.js +376 -0
- package/dist/esm/realtime/voiceAgentRealtimeClient.js.map +1 -0
- package/dist/esm/realtime/webSocketTransportLike.d.ts +44 -0
- package/dist/esm/realtime/webSocketTransportLike.d.ts.map +1 -0
- package/dist/esm/realtime/webSocketTransportLike.js +4 -0
- package/dist/esm/realtime/webSocketTransportLike.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +3 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +26 -12
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js +15 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/esm/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/esm/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/esm/static-helpers/serialization/parse-json-object.js +14 -0
- package/dist/esm/static-helpers/serialization/parse-json-object.js.map +1 -0
- package/dist/esm/tracing/configuration.js +1 -1
- package/dist/esm/tracing/configuration.js.map +1 -1
- package/dist/esm/webSocketTransport.d.ts +15 -0
- package/dist/esm/webSocketTransport.d.ts.map +1 -0
- package/dist/esm/webSocketTransport.js +220 -0
- package/dist/esm/webSocketTransport.js.map +1 -0
- package/dist/react-native/aiProjectClient.d.ts +1 -0
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +16 -1
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/api/agents/index.d.ts +2 -2
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts +23 -2
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +169 -3
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +243 -2
- package/dist/react-native/api/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/agents/options.js.map +1 -1
- package/dist/react-native/api/aiProjectContext.d.ts +3 -0
- package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
- package/dist/react-native/api/aiProjectContext.js.map +1 -1
- package/dist/react-native/api/beta/agentInsightMonitors/index.d.ts +3 -0
- package/dist/react-native/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/index.js +4 -0
- package/dist/react-native/api/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.js +519 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.js.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.js +4 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.js.map +1 -0
- package/dist/react-native/api/beta/agents/index.d.ts +2 -2
- package/dist/react-native/api/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/index.js +1 -1
- package/dist/react-native/api/beta/agents/index.js.map +1 -1
- package/dist/react-native/api/beta/agents/operations.d.ts +9 -2
- package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/operations.js +38 -1
- package/dist/react-native/api/beta/agents/operations.js.map +1 -1
- package/dist/react-native/api/beta/agents/options.d.ts +3 -0
- package/dist/react-native/api/beta/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/options.js.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.d.ts +1 -1
- package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.js.map +1 -1
- package/dist/react-native/api/beta/models/options.d.ts +1 -1
- package/dist/react-native/api/beta/models/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/models/options.js.map +1 -1
- package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/operations.js +4 -1
- package/dist/react-native/api/beta/routines/operations.js.map +1 -1
- package/dist/react-native/api/beta/routines/options.d.ts +3 -1
- package/dist/react-native/api/beta/routines/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/options.js.map +1 -1
- package/dist/react-native/api/beta/voiceAgents/conversations/index.d.ts +3 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/index.js +4 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/index.js.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/operations.d.ts +140 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/operations.js +635 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/operations.js.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/options.d.ts +133 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/options.js +4 -0
- package/dist/react-native/api/beta/voiceAgents/conversations/options.js.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/index.d.ts +3 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/index.js +4 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/index.js.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/operations.d.ts +62 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/operations.js +559 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/operations.js.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/options.d.ts +133 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/options.js +4 -0
- package/dist/react-native/api/beta/voiceAgents/telephony/options.js.map +1 -0
- package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/datasets/operations.js +1 -3
- package/dist/react-native/api/datasets/operations.js.map +1 -1
- package/dist/react-native/api/toolboxes/index.d.ts +2 -2
- package/dist/react-native/api/toolboxes/index.d.ts.map +1 -1
- package/dist/react-native/api/toolboxes/index.js +1 -1
- package/dist/react-native/api/toolboxes/index.js.map +1 -1
- package/dist/react-native/api/toolboxes/operations.d.ts +6 -2
- package/dist/react-native/api/toolboxes/operations.d.ts.map +1 -1
- package/dist/react-native/api/toolboxes/operations.js +33 -0
- package/dist/react-native/api/toolboxes/operations.js.map +1 -1
- package/dist/react-native/api/toolboxes/options.d.ts +3 -0
- package/dist/react-native/api/toolboxes/options.d.ts.map +1 -1
- package/dist/react-native/api/toolboxes/options.js.map +1 -1
- package/dist/react-native/classic/agents/index.d.ts +17 -2
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js +4 -1
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/react-native/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/agentInsightMonitors/index.js +26 -0
- package/dist/react-native/classic/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/react-native/classic/beta/agents/index.d.ts +8 -3
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/agents/index.js +3 -4
- package/dist/react-native/classic/beta/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/index.d.ts +9 -1
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +7 -1
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/routines/index.d.ts +1 -1
- package/dist/react-native/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/routines/index.js.map +1 -1
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts +115 -0
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.js +25 -0
- package/dist/react-native/classic/beta/voiceAgents/conversations/index.js.map +1 -0
- package/dist/react-native/classic/beta/voiceAgents/index.d.ts +16 -0
- package/dist/react-native/classic/beta/voiceAgents/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/voiceAgents/index.js +16 -0
- package/dist/react-native/classic/beta/voiceAgents/index.js.map +1 -0
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts +37 -0
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.js +25 -0
- package/dist/react-native/classic/beta/voiceAgents/telephony/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +3 -0
- package/dist/react-native/classic/index.d.ts.map +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/toolboxes/index.d.ts +4 -2
- package/dist/react-native/classic/toolboxes/index.d.ts.map +1 -1
- package/dist/react-native/classic/toolboxes/index.js +2 -1
- package/dist/react-native/classic/toolboxes/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/deprecate.interface.d.ts +16 -4
- package/dist/react-native/deprecate.interface.d.ts.map +1 -1
- package/dist/react-native/deprecate.interface.js.map +1 -1
- package/dist/react-native/index.d.ts +20 -6
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +3 -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 +4840 -33
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +5520 -22
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/package.json +6 -1
- package/dist/react-native/realtime/asyncQueue.d.ts +29 -0
- package/dist/react-native/realtime/asyncQueue.d.ts.map +1 -0
- package/dist/react-native/realtime/asyncQueue.js +105 -0
- package/dist/react-native/realtime/asyncQueue.js.map +1 -0
- package/dist/react-native/realtime/errors.d.ts +34 -0
- package/dist/react-native/realtime/errors.d.ts.map +1 -0
- package/dist/react-native/realtime/errors.js +40 -0
- package/dist/react-native/realtime/errors.js.map +1 -0
- package/dist/react-native/realtime/events.d.ts +24 -0
- package/dist/react-native/realtime/events.d.ts.map +1 -0
- package/dist/react-native/realtime/events.js +4 -0
- package/dist/react-native/realtime/events.js.map +1 -0
- package/dist/react-native/realtime/protocol.d.ts +7 -0
- package/dist/react-native/realtime/protocol.d.ts.map +1 -0
- package/dist/react-native/realtime/protocol.js +262 -0
- package/dist/react-native/realtime/protocol.js.map +1 -0
- package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts +145 -0
- package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts.map +1 -0
- package/dist/react-native/realtime/voiceAgentRealtimeClient.js +376 -0
- package/dist/react-native/realtime/voiceAgentRealtimeClient.js.map +1 -0
- package/dist/react-native/realtime/webSocketTransportLike.d.ts +44 -0
- package/dist/react-native/realtime/webSocketTransportLike.d.ts.map +1 -0
- package/dist/react-native/realtime/webSocketTransportLike.js +4 -0
- package/dist/react-native/realtime/webSocketTransportLike.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +3 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js +26 -12
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs +12 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -1
- package/dist/react-native/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/react-native/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/react-native/static-helpers/serialization/parse-json-object.js +14 -0
- package/dist/react-native/static-helpers/serialization/parse-json-object.js.map +1 -0
- package/dist/react-native/tracing/configuration.js +1 -1
- package/dist/react-native/tracing/configuration.js.map +1 -1
- package/dist/react-native/webSocketTransport-browser.d.mts +31 -0
- package/dist/react-native/webSocketTransport-browser.d.mts.map +1 -0
- package/dist/react-native/webSocketTransport-browser.mjs +218 -0
- package/dist/react-native/webSocketTransport-browser.mjs.map +1 -0
- package/dist/react-native/webSocketTransport.d.ts +2 -0
- package/dist/react-native/webSocketTransport.d.ts.map +1 -0
- package/dist/react-native/webSocketTransport.js +6 -0
- package/dist/react-native/webSocketTransport.js.map +1 -0
- package/package.json +12 -9
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
$delete: () => $delete,
|
|
21
|
+
_$deleteDeserialize: () => _$deleteDeserialize,
|
|
22
|
+
_$deleteSend: () => _$deleteSend,
|
|
23
|
+
_downloadAudioDeserialize: () => _downloadAudioDeserialize,
|
|
24
|
+
_downloadAudioItemDeserialize: () => _downloadAudioItemDeserialize,
|
|
25
|
+
_downloadAudioItemSend: () => _downloadAudioItemSend,
|
|
26
|
+
_downloadAudioSend: () => _downloadAudioSend,
|
|
27
|
+
_downloadGeneratedAudioItemDeserialize: () => _downloadGeneratedAudioItemDeserialize,
|
|
28
|
+
_downloadGeneratedAudioItemSend: () => _downloadGeneratedAudioItemSend,
|
|
29
|
+
_getAudioDeserialize: () => _getAudioDeserialize,
|
|
30
|
+
_getAudioItemDeserialize: () => _getAudioItemDeserialize,
|
|
31
|
+
_getAudioItemSend: () => _getAudioItemSend,
|
|
32
|
+
_getAudioSend: () => _getAudioSend,
|
|
33
|
+
_getDeserialize: () => _getDeserialize,
|
|
34
|
+
_getGeneratedAudioItemDeserialize: () => _getGeneratedAudioItemDeserialize,
|
|
35
|
+
_getGeneratedAudioItemSend: () => _getGeneratedAudioItemSend,
|
|
36
|
+
_getItemDeserialize: () => _getItemDeserialize,
|
|
37
|
+
_getItemSend: () => _getItemSend,
|
|
38
|
+
_getResponseDeserialize: () => _getResponseDeserialize,
|
|
39
|
+
_getResponseSend: () => _getResponseSend,
|
|
40
|
+
_getSend: () => _getSend,
|
|
41
|
+
_listDeserialize: () => _listDeserialize,
|
|
42
|
+
_listItemsDeserialize: () => _listItemsDeserialize,
|
|
43
|
+
_listItemsSend: () => _listItemsSend,
|
|
44
|
+
_listResponseItemsDeserialize: () => _listResponseItemsDeserialize,
|
|
45
|
+
_listResponseItemsSend: () => _listResponseItemsSend,
|
|
46
|
+
_listResponsesDeserialize: () => _listResponsesDeserialize,
|
|
47
|
+
_listResponsesSend: () => _listResponsesSend,
|
|
48
|
+
_listSend: () => _listSend,
|
|
49
|
+
downloadAudio: () => downloadAudio,
|
|
50
|
+
downloadAudioItem: () => downloadAudioItem,
|
|
51
|
+
downloadGeneratedAudioItem: () => downloadGeneratedAudioItem,
|
|
52
|
+
get: () => get,
|
|
53
|
+
getAudio: () => getAudio,
|
|
54
|
+
getAudioItem: () => getAudioItem,
|
|
55
|
+
getGeneratedAudioItem: () => getGeneratedAudioItem,
|
|
56
|
+
getItem: () => getItem,
|
|
57
|
+
getResponse: () => getResponse,
|
|
58
|
+
list: () => list,
|
|
59
|
+
listItems: () => listItems,
|
|
60
|
+
listResponseItems: () => listResponseItems,
|
|
61
|
+
listResponses: () => listResponses
|
|
62
|
+
});
|
|
63
|
+
module.exports = __toCommonJS(operations_exports);
|
|
64
|
+
var import_models = require("../../../../models/models.js");
|
|
65
|
+
var import_pagingHelpers = require("../../../../static-helpers/pagingHelpers.js");
|
|
66
|
+
var import_get_binary_stream_response = require("../../../../static-helpers/serialization/get-binary-stream-response.js");
|
|
67
|
+
var import_urlTemplate = require("../../../../static-helpers/urlTemplate.js");
|
|
68
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
69
|
+
function _downloadAudioSend(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
70
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
71
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
72
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/audio/content{?api%2Dversion}",
|
|
73
|
+
{
|
|
74
|
+
agent_name: agentName,
|
|
75
|
+
conversation_id: conversationId,
|
|
76
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
return context.path(path).get({
|
|
83
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
84
|
+
headers: {
|
|
85
|
+
"foundry-features": foundryFeatures,
|
|
86
|
+
accept: "audio/wav",
|
|
87
|
+
...options.requestOptions?.headers
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
async function _downloadAudioDeserialize(result) {
|
|
92
|
+
const expectedStatuses = ["200"];
|
|
93
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
94
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
95
|
+
if (result.body) {
|
|
96
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
97
|
+
}
|
|
98
|
+
throw error;
|
|
99
|
+
}
|
|
100
|
+
return { blobBody: result.blobBody, readableStreamBody: result.readableStreamBody };
|
|
101
|
+
}
|
|
102
|
+
async function downloadAudio(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
103
|
+
const streamableMethod = _downloadAudioSend(context, agentName, conversationId, options);
|
|
104
|
+
const result = await (0, import_get_binary_stream_response.getBinaryStreamResponse)(streamableMethod);
|
|
105
|
+
return _downloadAudioDeserialize(result);
|
|
106
|
+
}
|
|
107
|
+
function _getAudioSend(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
108
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
109
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
110
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/audio{?api%2Dversion}",
|
|
111
|
+
{
|
|
112
|
+
agent_name: agentName,
|
|
113
|
+
conversation_id: conversationId,
|
|
114
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
return context.path(path).get({
|
|
121
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
122
|
+
headers: {
|
|
123
|
+
"foundry-features": foundryFeatures,
|
|
124
|
+
accept: "application/json",
|
|
125
|
+
...options.requestOptions?.headers
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
async function _getAudioDeserialize(result) {
|
|
130
|
+
const expectedStatuses = ["200"];
|
|
131
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
132
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
133
|
+
if (result.body) {
|
|
134
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
135
|
+
}
|
|
136
|
+
throw error;
|
|
137
|
+
}
|
|
138
|
+
return (0, import_models.voiceRecordingDeserializer)(result.body);
|
|
139
|
+
}
|
|
140
|
+
async function getAudio(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
141
|
+
const result = await _getAudioSend(context, agentName, conversationId, options);
|
|
142
|
+
return _getAudioDeserialize(result);
|
|
143
|
+
}
|
|
144
|
+
function _downloadGeneratedAudioItemSend(context, agentName, conversationId, itemId, options = {
|
|
145
|
+
requestOptions: {}
|
|
146
|
+
}) {
|
|
147
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
148
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
149
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/items/{item_id}/audio/generated/content{?api%2Dversion}",
|
|
150
|
+
{
|
|
151
|
+
agent_name: agentName,
|
|
152
|
+
conversation_id: conversationId,
|
|
153
|
+
item_id: itemId,
|
|
154
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
158
|
+
}
|
|
159
|
+
);
|
|
160
|
+
return context.path(path).get({
|
|
161
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
162
|
+
headers: {
|
|
163
|
+
"foundry-features": foundryFeatures,
|
|
164
|
+
accept: "audio/wav",
|
|
165
|
+
...options.requestOptions?.headers
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
async function _downloadGeneratedAudioItemDeserialize(result) {
|
|
170
|
+
const expectedStatuses = ["200"];
|
|
171
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
172
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
173
|
+
if (result.body) {
|
|
174
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
175
|
+
}
|
|
176
|
+
throw error;
|
|
177
|
+
}
|
|
178
|
+
return { blobBody: result.blobBody, readableStreamBody: result.readableStreamBody };
|
|
179
|
+
}
|
|
180
|
+
async function downloadGeneratedAudioItem(context, agentName, conversationId, itemId, options = {
|
|
181
|
+
requestOptions: {}
|
|
182
|
+
}) {
|
|
183
|
+
const streamableMethod = _downloadGeneratedAudioItemSend(
|
|
184
|
+
context,
|
|
185
|
+
agentName,
|
|
186
|
+
conversationId,
|
|
187
|
+
itemId,
|
|
188
|
+
options
|
|
189
|
+
);
|
|
190
|
+
const result = await (0, import_get_binary_stream_response.getBinaryStreamResponse)(streamableMethod);
|
|
191
|
+
return _downloadGeneratedAudioItemDeserialize(result);
|
|
192
|
+
}
|
|
193
|
+
function _getGeneratedAudioItemSend(context, agentName, conversationId, itemId, options = {
|
|
194
|
+
requestOptions: {}
|
|
195
|
+
}) {
|
|
196
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
197
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
198
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/items/{item_id}/audio/generated{?api%2Dversion}",
|
|
199
|
+
{
|
|
200
|
+
agent_name: agentName,
|
|
201
|
+
conversation_id: conversationId,
|
|
202
|
+
item_id: itemId,
|
|
203
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
207
|
+
}
|
|
208
|
+
);
|
|
209
|
+
return context.path(path).get({
|
|
210
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
211
|
+
headers: {
|
|
212
|
+
"foundry-features": foundryFeatures,
|
|
213
|
+
accept: "application/json",
|
|
214
|
+
...options.requestOptions?.headers
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
async function _getGeneratedAudioItemDeserialize(result) {
|
|
219
|
+
const expectedStatuses = ["200"];
|
|
220
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
221
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
222
|
+
if (result.body) {
|
|
223
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
224
|
+
}
|
|
225
|
+
throw error;
|
|
226
|
+
}
|
|
227
|
+
return (0, import_models.voiceGeneratedAudioItemDeserializer)(result.body);
|
|
228
|
+
}
|
|
229
|
+
async function getGeneratedAudioItem(context, agentName, conversationId, itemId, options = {
|
|
230
|
+
requestOptions: {}
|
|
231
|
+
}) {
|
|
232
|
+
const result = await _getGeneratedAudioItemSend(
|
|
233
|
+
context,
|
|
234
|
+
agentName,
|
|
235
|
+
conversationId,
|
|
236
|
+
itemId,
|
|
237
|
+
options
|
|
238
|
+
);
|
|
239
|
+
return _getGeneratedAudioItemDeserialize(result);
|
|
240
|
+
}
|
|
241
|
+
function _downloadAudioItemSend(context, agentName, conversationId, itemId, options = { requestOptions: {} }) {
|
|
242
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
243
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
244
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/items/{item_id}/audio/content{?api%2Dversion}",
|
|
245
|
+
{
|
|
246
|
+
agent_name: agentName,
|
|
247
|
+
conversation_id: conversationId,
|
|
248
|
+
item_id: itemId,
|
|
249
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
253
|
+
}
|
|
254
|
+
);
|
|
255
|
+
return context.path(path).get({
|
|
256
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
257
|
+
headers: {
|
|
258
|
+
"foundry-features": foundryFeatures,
|
|
259
|
+
accept: "audio/wav",
|
|
260
|
+
...options.requestOptions?.headers
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
async function _downloadAudioItemDeserialize(result) {
|
|
265
|
+
const expectedStatuses = ["200"];
|
|
266
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
267
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
268
|
+
if (result.body) {
|
|
269
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
270
|
+
}
|
|
271
|
+
throw error;
|
|
272
|
+
}
|
|
273
|
+
return { blobBody: result.blobBody, readableStreamBody: result.readableStreamBody };
|
|
274
|
+
}
|
|
275
|
+
async function downloadAudioItem(context, agentName, conversationId, itemId, options = { requestOptions: {} }) {
|
|
276
|
+
const streamableMethod = _downloadAudioItemSend(
|
|
277
|
+
context,
|
|
278
|
+
agentName,
|
|
279
|
+
conversationId,
|
|
280
|
+
itemId,
|
|
281
|
+
options
|
|
282
|
+
);
|
|
283
|
+
const result = await (0, import_get_binary_stream_response.getBinaryStreamResponse)(streamableMethod);
|
|
284
|
+
return _downloadAudioItemDeserialize(result);
|
|
285
|
+
}
|
|
286
|
+
function _getAudioItemSend(context, agentName, conversationId, itemId, options = { requestOptions: {} }) {
|
|
287
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
288
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
289
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/items/{item_id}/audio{?api%2Dversion}",
|
|
290
|
+
{
|
|
291
|
+
agent_name: agentName,
|
|
292
|
+
conversation_id: conversationId,
|
|
293
|
+
item_id: itemId,
|
|
294
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
298
|
+
}
|
|
299
|
+
);
|
|
300
|
+
return context.path(path).get({
|
|
301
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
302
|
+
headers: {
|
|
303
|
+
"foundry-features": foundryFeatures,
|
|
304
|
+
accept: "application/json",
|
|
305
|
+
...options.requestOptions?.headers
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
async function _getAudioItemDeserialize(result) {
|
|
310
|
+
const expectedStatuses = ["200"];
|
|
311
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
312
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
313
|
+
if (result.body) {
|
|
314
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
315
|
+
}
|
|
316
|
+
throw error;
|
|
317
|
+
}
|
|
318
|
+
return (0, import_models.voiceAudioItemDeserializer)(result.body);
|
|
319
|
+
}
|
|
320
|
+
async function getAudioItem(context, agentName, conversationId, itemId, options = { requestOptions: {} }) {
|
|
321
|
+
const result = await _getAudioItemSend(context, agentName, conversationId, itemId, options);
|
|
322
|
+
return _getAudioItemDeserialize(result);
|
|
323
|
+
}
|
|
324
|
+
function _getItemSend(context, agentName, conversationId, itemId, options = { requestOptions: {} }) {
|
|
325
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
326
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
327
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/items/{item_id}{?api%2Dversion}",
|
|
328
|
+
{
|
|
329
|
+
agent_name: agentName,
|
|
330
|
+
conversation_id: conversationId,
|
|
331
|
+
item_id: itemId,
|
|
332
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
336
|
+
}
|
|
337
|
+
);
|
|
338
|
+
return context.path(path).get({
|
|
339
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
340
|
+
headers: {
|
|
341
|
+
"foundry-features": foundryFeatures,
|
|
342
|
+
accept: "application/json",
|
|
343
|
+
...options.requestOptions?.headers
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
async function _getItemDeserialize(result) {
|
|
348
|
+
const expectedStatuses = ["200"];
|
|
349
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
350
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
351
|
+
if (result.body) {
|
|
352
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
353
|
+
}
|
|
354
|
+
throw error;
|
|
355
|
+
}
|
|
356
|
+
return (0, import_models.realtimeConversationItemUnionDeserializer)(result.body);
|
|
357
|
+
}
|
|
358
|
+
async function getItem(context, agentName, conversationId, itemId, options = { requestOptions: {} }) {
|
|
359
|
+
const result = await _getItemSend(context, agentName, conversationId, itemId, options);
|
|
360
|
+
return _getItemDeserialize(result);
|
|
361
|
+
}
|
|
362
|
+
function _listItemsSend(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
363
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
364
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
365
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/items{?limit,order,after,before,api%2Dversion}",
|
|
366
|
+
{
|
|
367
|
+
agent_name: agentName,
|
|
368
|
+
conversation_id: conversationId,
|
|
369
|
+
limit: options?.limit,
|
|
370
|
+
order: options?.order,
|
|
371
|
+
after: options?.after,
|
|
372
|
+
before: options?.before,
|
|
373
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
377
|
+
}
|
|
378
|
+
);
|
|
379
|
+
return context.path(path).get({
|
|
380
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
381
|
+
headers: {
|
|
382
|
+
"foundry-features": foundryFeatures,
|
|
383
|
+
accept: "application/json",
|
|
384
|
+
...options.requestOptions?.headers
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
async function _listItemsDeserialize(result) {
|
|
389
|
+
const expectedStatuses = ["200"];
|
|
390
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
391
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
392
|
+
if (result.body) {
|
|
393
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
394
|
+
}
|
|
395
|
+
throw error;
|
|
396
|
+
}
|
|
397
|
+
return (0, import_models._agentsPagedResultRealtimeConversationItemDeserializer)(result.body);
|
|
398
|
+
}
|
|
399
|
+
function listItems(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
400
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
401
|
+
context,
|
|
402
|
+
() => _listItemsSend(context, agentName, conversationId, options),
|
|
403
|
+
_listItemsDeserialize,
|
|
404
|
+
["200"],
|
|
405
|
+
{
|
|
406
|
+
itemName: "data",
|
|
407
|
+
apiVersion: context.apiVersion ?? "v1",
|
|
408
|
+
cursorFieldName: "last_id",
|
|
409
|
+
hasMoreFieldName: "has_more",
|
|
410
|
+
nextPageRequestOptions: {
|
|
411
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
412
|
+
headers: {
|
|
413
|
+
"foundry-features": "VoiceAgents=V1Preview",
|
|
414
|
+
...options.requestOptions?.headers
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
function _listResponseItemsSend(context, agentName, conversationId, responseId, options = { requestOptions: {} }) {
|
|
421
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
422
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
423
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/responses/{response_id}/items{?limit,order,after,before,api%2Dversion}",
|
|
424
|
+
{
|
|
425
|
+
agent_name: agentName,
|
|
426
|
+
conversation_id: conversationId,
|
|
427
|
+
response_id: responseId,
|
|
428
|
+
limit: options?.limit,
|
|
429
|
+
order: options?.order,
|
|
430
|
+
after: options?.after,
|
|
431
|
+
before: options?.before,
|
|
432
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
436
|
+
}
|
|
437
|
+
);
|
|
438
|
+
return context.path(path).get({
|
|
439
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
440
|
+
headers: {
|
|
441
|
+
"foundry-features": foundryFeatures,
|
|
442
|
+
accept: "application/json",
|
|
443
|
+
...options.requestOptions?.headers
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
async function _listResponseItemsDeserialize(result) {
|
|
448
|
+
const expectedStatuses = ["200"];
|
|
449
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
450
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
451
|
+
if (result.body) {
|
|
452
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
453
|
+
}
|
|
454
|
+
throw error;
|
|
455
|
+
}
|
|
456
|
+
return (0, import_models._agentsPagedResultRealtimeConversationItemDeserializer)(result.body);
|
|
457
|
+
}
|
|
458
|
+
function listResponseItems(context, agentName, conversationId, responseId, options = { requestOptions: {} }) {
|
|
459
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
460
|
+
context,
|
|
461
|
+
() => _listResponseItemsSend(context, agentName, conversationId, responseId, options),
|
|
462
|
+
_listResponseItemsDeserialize,
|
|
463
|
+
["200"],
|
|
464
|
+
{
|
|
465
|
+
itemName: "data",
|
|
466
|
+
apiVersion: context.apiVersion ?? "v1",
|
|
467
|
+
cursorFieldName: "last_id",
|
|
468
|
+
hasMoreFieldName: "has_more",
|
|
469
|
+
nextPageRequestOptions: {
|
|
470
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
471
|
+
headers: {
|
|
472
|
+
"foundry-features": "VoiceAgents=V1Preview",
|
|
473
|
+
...options.requestOptions?.headers
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
);
|
|
478
|
+
}
|
|
479
|
+
function _getResponseSend(context, agentName, conversationId, responseId, options = { requestOptions: {} }) {
|
|
480
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
481
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
482
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/responses/{response_id}{?api%2Dversion}",
|
|
483
|
+
{
|
|
484
|
+
agent_name: agentName,
|
|
485
|
+
conversation_id: conversationId,
|
|
486
|
+
response_id: responseId,
|
|
487
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
491
|
+
}
|
|
492
|
+
);
|
|
493
|
+
return context.path(path).get({
|
|
494
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
495
|
+
headers: {
|
|
496
|
+
"foundry-features": foundryFeatures,
|
|
497
|
+
accept: "application/json",
|
|
498
|
+
...options.requestOptions?.headers
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
async function _getResponseDeserialize(result) {
|
|
503
|
+
const expectedStatuses = ["200"];
|
|
504
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
505
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
506
|
+
if (result.body) {
|
|
507
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
508
|
+
}
|
|
509
|
+
throw error;
|
|
510
|
+
}
|
|
511
|
+
return (0, import_models.voiceResponseDeserializer)(result.body);
|
|
512
|
+
}
|
|
513
|
+
async function getResponse(context, agentName, conversationId, responseId, options = { requestOptions: {} }) {
|
|
514
|
+
const result = await _getResponseSend(context, agentName, conversationId, responseId, options);
|
|
515
|
+
return _getResponseDeserialize(result);
|
|
516
|
+
}
|
|
517
|
+
function _listResponsesSend(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
518
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
519
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
520
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}/responses{?limit,order,after,before,api%2Dversion}",
|
|
521
|
+
{
|
|
522
|
+
agent_name: agentName,
|
|
523
|
+
conversation_id: conversationId,
|
|
524
|
+
limit: options?.limit,
|
|
525
|
+
order: options?.order,
|
|
526
|
+
after: options?.after,
|
|
527
|
+
before: options?.before,
|
|
528
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
532
|
+
}
|
|
533
|
+
);
|
|
534
|
+
return context.path(path).get({
|
|
535
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
536
|
+
headers: {
|
|
537
|
+
"foundry-features": foundryFeatures,
|
|
538
|
+
accept: "application/json",
|
|
539
|
+
...options.requestOptions?.headers
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
async function _listResponsesDeserialize(result) {
|
|
544
|
+
const expectedStatuses = ["200"];
|
|
545
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
546
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
547
|
+
if (result.body) {
|
|
548
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
549
|
+
}
|
|
550
|
+
throw error;
|
|
551
|
+
}
|
|
552
|
+
return (0, import_models._agentsPagedResultVoiceResponseDeserializer)(result.body);
|
|
553
|
+
}
|
|
554
|
+
function listResponses(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
555
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
556
|
+
context,
|
|
557
|
+
() => _listResponsesSend(context, agentName, conversationId, options),
|
|
558
|
+
_listResponsesDeserialize,
|
|
559
|
+
["200"],
|
|
560
|
+
{
|
|
561
|
+
itemName: "data",
|
|
562
|
+
apiVersion: context.apiVersion ?? "v1",
|
|
563
|
+
cursorFieldName: "last_id",
|
|
564
|
+
hasMoreFieldName: "has_more",
|
|
565
|
+
nextPageRequestOptions: {
|
|
566
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
567
|
+
headers: {
|
|
568
|
+
"foundry-features": "VoiceAgents=V1Preview",
|
|
569
|
+
...options.requestOptions?.headers
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
);
|
|
574
|
+
}
|
|
575
|
+
function _$deleteSend(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
576
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
577
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
578
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}{?api%2Dversion}",
|
|
579
|
+
{
|
|
580
|
+
agent_name: agentName,
|
|
581
|
+
conversation_id: conversationId,
|
|
582
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
586
|
+
}
|
|
587
|
+
);
|
|
588
|
+
return context.path(path).delete({
|
|
589
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
590
|
+
headers: { "foundry-features": foundryFeatures, ...options.requestOptions?.headers }
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
async function _$deleteDeserialize(result) {
|
|
594
|
+
const expectedStatuses = ["204"];
|
|
595
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
596
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
597
|
+
if (result.body) {
|
|
598
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
599
|
+
}
|
|
600
|
+
throw error;
|
|
601
|
+
}
|
|
602
|
+
return;
|
|
603
|
+
}
|
|
604
|
+
async function $delete(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
605
|
+
const result = await _$deleteSend(context, agentName, conversationId, options);
|
|
606
|
+
return _$deleteDeserialize(result);
|
|
607
|
+
}
|
|
608
|
+
function _getSend(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
609
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
610
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
611
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations/{conversation_id}{?api%2Dversion}",
|
|
612
|
+
{
|
|
613
|
+
agent_name: agentName,
|
|
614
|
+
conversation_id: conversationId,
|
|
615
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
619
|
+
}
|
|
620
|
+
);
|
|
621
|
+
return context.path(path).get({
|
|
622
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
623
|
+
headers: {
|
|
624
|
+
"foundry-features": foundryFeatures,
|
|
625
|
+
accept: "application/json",
|
|
626
|
+
...options.requestOptions?.headers
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
async function _getDeserialize(result) {
|
|
631
|
+
const expectedStatuses = ["200"];
|
|
632
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
633
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
634
|
+
if (result.body) {
|
|
635
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
636
|
+
}
|
|
637
|
+
throw error;
|
|
638
|
+
}
|
|
639
|
+
return (0, import_models.voiceConversationDeserializer)(result.body);
|
|
640
|
+
}
|
|
641
|
+
async function get(context, agentName, conversationId, options = { requestOptions: {} }) {
|
|
642
|
+
const result = await _getSend(context, agentName, conversationId, options);
|
|
643
|
+
return _getDeserialize(result);
|
|
644
|
+
}
|
|
645
|
+
function _listSend(context, agentName, options = { requestOptions: {} }) {
|
|
646
|
+
const foundryFeatures = "VoiceAgents=V1Preview";
|
|
647
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
648
|
+
"/agents/{agent_name}/endpoint/protocols/voice/conversations{?limit,order,after,before,api%2Dversion}",
|
|
649
|
+
{
|
|
650
|
+
agent_name: agentName,
|
|
651
|
+
limit: options?.limit,
|
|
652
|
+
order: options?.order,
|
|
653
|
+
after: options?.after,
|
|
654
|
+
before: options?.before,
|
|
655
|
+
"api%2Dversion": context.apiVersion ?? "v1"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
659
|
+
}
|
|
660
|
+
);
|
|
661
|
+
return context.path(path).get({
|
|
662
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
663
|
+
headers: {
|
|
664
|
+
"foundry-features": foundryFeatures,
|
|
665
|
+
accept: "application/json",
|
|
666
|
+
...options.requestOptions?.headers
|
|
667
|
+
}
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
async function _listDeserialize(result) {
|
|
671
|
+
const expectedStatuses = ["200"];
|
|
672
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
673
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
674
|
+
if (result.body) {
|
|
675
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
676
|
+
}
|
|
677
|
+
throw error;
|
|
678
|
+
}
|
|
679
|
+
return (0, import_models._agentsPagedResultVoiceConversationDeserializer)(result.body);
|
|
680
|
+
}
|
|
681
|
+
function list(context, agentName, options = { requestOptions: {} }) {
|
|
682
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
683
|
+
context,
|
|
684
|
+
() => _listSend(context, agentName, options),
|
|
685
|
+
_listDeserialize,
|
|
686
|
+
["200"],
|
|
687
|
+
{
|
|
688
|
+
itemName: "data",
|
|
689
|
+
apiVersion: context.apiVersion ?? "v1",
|
|
690
|
+
cursorFieldName: "last_id",
|
|
691
|
+
hasMoreFieldName: "has_more",
|
|
692
|
+
nextPageRequestOptions: {
|
|
693
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
694
|
+
headers: {
|
|
695
|
+
"foundry-features": "VoiceAgents=V1Preview",
|
|
696
|
+
...options.requestOptions?.headers
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
);
|
|
701
|
+
}
|
|
702
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
703
|
+
0 && (module.exports = {
|
|
704
|
+
$delete,
|
|
705
|
+
_$deleteDeserialize,
|
|
706
|
+
_$deleteSend,
|
|
707
|
+
_downloadAudioDeserialize,
|
|
708
|
+
_downloadAudioItemDeserialize,
|
|
709
|
+
_downloadAudioItemSend,
|
|
710
|
+
_downloadAudioSend,
|
|
711
|
+
_downloadGeneratedAudioItemDeserialize,
|
|
712
|
+
_downloadGeneratedAudioItemSend,
|
|
713
|
+
_getAudioDeserialize,
|
|
714
|
+
_getAudioItemDeserialize,
|
|
715
|
+
_getAudioItemSend,
|
|
716
|
+
_getAudioSend,
|
|
717
|
+
_getDeserialize,
|
|
718
|
+
_getGeneratedAudioItemDeserialize,
|
|
719
|
+
_getGeneratedAudioItemSend,
|
|
720
|
+
_getItemDeserialize,
|
|
721
|
+
_getItemSend,
|
|
722
|
+
_getResponseDeserialize,
|
|
723
|
+
_getResponseSend,
|
|
724
|
+
_getSend,
|
|
725
|
+
_listDeserialize,
|
|
726
|
+
_listItemsDeserialize,
|
|
727
|
+
_listItemsSend,
|
|
728
|
+
_listResponseItemsDeserialize,
|
|
729
|
+
_listResponseItemsSend,
|
|
730
|
+
_listResponsesDeserialize,
|
|
731
|
+
_listResponsesSend,
|
|
732
|
+
_listSend,
|
|
733
|
+
downloadAudio,
|
|
734
|
+
downloadAudioItem,
|
|
735
|
+
downloadGeneratedAudioItem,
|
|
736
|
+
get,
|
|
737
|
+
getAudio,
|
|
738
|
+
getAudioItem,
|
|
739
|
+
getGeneratedAudioItem,
|
|
740
|
+
getItem,
|
|
741
|
+
getResponse,
|
|
742
|
+
list,
|
|
743
|
+
listItems,
|
|
744
|
+
listResponseItems,
|
|
745
|
+
listResponses
|
|
746
|
+
});
|
|
747
|
+
//# sourceMappingURL=operations.js.map
|