@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/api/beta/datasets/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n DataGenerationJob,\n DataGenerationJobResult,\n _AgentsPagedResultDataGenerationJob,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n dataGenerationJobSerializer,\n dataGenerationJobDeserializer,\n dataGenerationJobResultDeserializer,\n _agentsPagedResultDataGenerationJobDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport type { JobPoller } from \"../../../static-helpers/pollingHelpers.js\";\nimport { getJobPoller } from \"../../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaDatasetsDeleteGenerationJobOptionalParams,\n BetaDatasetsCancelGenerationJobOptionalParams,\n BetaDatasetsCreateGenerationJobOptionalParams,\n BetaDatasetsListGenerationJobsOptionalParams,\n BetaDatasetsGetGenerationJobOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _deleteGenerationJobSend(\n context: Client,\n jobId: string,\n options: BetaDatasetsDeleteGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs/{jobId}{?api-version}\",\n {\n jobId: jobId,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _deleteGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Removes the specified data generation job and its associated output. */\nexport async function deleteGenerationJob(\n context: Client,\n jobId: string,\n options: BetaDatasetsDeleteGenerationJobOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _deleteGenerationJobSend(context, jobId, options);\n return _deleteGenerationJobDeserialize(result);\n}\n\nexport function _cancelGenerationJobSend(\n context: Client,\n jobId: string,\n options: BetaDatasetsCancelGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs/{jobId}:cancel{?api-version}\",\n {\n jobId: jobId,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _cancelGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataGenerationJob> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return dataGenerationJobDeserializer(result.body);\n}\n\n/** Cancels the specified data generation job if it is still in progress. */\nexport async function cancelGenerationJob(\n context: Client,\n jobId: string,\n options: BetaDatasetsCancelGenerationJobOptionalParams = { requestOptions: {} },\n): Promise<DataGenerationJob> {\n const result = await _cancelGenerationJobSend(context, jobId, options);\n return _cancelGenerationJobDeserialize(result);\n}\n\nexport function _createGenerationJobSend(\n context: Client,\n job: DataGenerationJob,\n options: BetaDatasetsCreateGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs{?api-version}\",\n {\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n ...(options?.operationId !== undefined ? { \"operation-id\": options?.operationId } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: dataGenerationJobSerializer(job),\n });\n}\n\nexport async function _createGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataGenerationJobResult> {\n const expectedStatuses = [\"201\", \"200\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n if (result?.body?.result === undefined) {\n throw createRestError(\n `Expected a result in the response at position \"result.body.result\"`,\n result,\n );\n }\n\n return dataGenerationJobResultDeserializer(result.body.result);\n}\n\n/** Submits a new data generation job for asynchronous execution. */\nexport function createGenerationJob(\n context: Client,\n job: DataGenerationJob,\n options: BetaDatasetsCreateGenerationJobOptionalParams = { requestOptions: {} },\n): JobPoller<DataGenerationJobResult> {\n // CUSTOMIZATION: SDK-IMPROVEMENT: `getJobPoller` exposes the queued job id on the poller state.\n return getJobPoller(context, _createGenerationJobDeserialize, [\"201\", \"200\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _createGenerationJobSend(context, job, options),\n resourceLocationConfig: \"operation-location\",\n apiVersion: context.apiVersion ?? \"v1\",\n pollHeaders: {\n ...options?.requestOptions?.headers,\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n },\n });\n}\n\nexport function _listGenerationJobsSend(\n context: Client,\n options: BetaDatasetsListGenerationJobsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs{?limit,order,after,before,api-version}\",\n {\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listGenerationJobsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultDataGenerationJob> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _agentsPagedResultDataGenerationJobDeserializer(result.body);\n}\n\n/** Returns a list of data generation jobs. */\nexport function listGenerationJobs(\n context: Client,\n options: BetaDatasetsListGenerationJobsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<DataGenerationJob> {\n return buildPagedAsyncIterator(\n context,\n () => _listGenerationJobsSend(context, options),\n _listGenerationJobsDeserialize,\n [\"200\"],\n { itemName: \"data\", apiVersion: context.apiVersion ?? \"v1\" },\n );\n}\n\nexport function _getGenerationJobSend(\n context: Client,\n jobId: string,\n options: BetaDatasetsGetGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs/{jobId}{?api-version}\",\n {\n jobId: jobId,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataGenerationJob> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return dataGenerationJobDeserializer(result.body);\n}\n\n/** Retrieves the specified data generation job and its current status. */\nexport async function getGenerationJob(\n context: Client,\n jobId: string,\n options: BetaDatasetsGetGenerationJobOptionalParams = { requestOptions: {} },\n): Promise<DataGenerationJob> {\n const result = await _getGenerationJobSend(context, jobId, options);\n return _getGenerationJobDeserialize(result);\n}\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n DataGenerationJob,\n DataGenerationJobResult,\n _AgentsPagedResultDataGenerationJob,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n dataGenerationJobSerializer,\n dataGenerationJobDeserializer,\n dataGenerationJobResultDeserializer,\n _agentsPagedResultDataGenerationJobDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport type { JobPoller } from \"../../../static-helpers/pollingHelpers.js\";\nimport { getJobPoller } from \"../../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaDatasetsDeleteGenerationJobOptionalParams,\n BetaDatasetsCancelGenerationJobOptionalParams,\n BetaDatasetsCreateGenerationJobOptionalParams,\n BetaDatasetsListGenerationJobsOptionalParams,\n BetaDatasetsGetGenerationJobOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _deleteGenerationJobSend(\n context: Client,\n jobId: string,\n options: BetaDatasetsDeleteGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs/{jobId}{?api-version}\",\n {\n jobId: jobId,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _deleteGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Removes the specified data generation job and its associated output. */\nexport async function deleteGenerationJob(\n context: Client,\n jobId: string,\n options: BetaDatasetsDeleteGenerationJobOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _deleteGenerationJobSend(context, jobId, options);\n return _deleteGenerationJobDeserialize(result);\n}\n\nexport function _cancelGenerationJobSend(\n context: Client,\n jobId: string,\n options: BetaDatasetsCancelGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs/{jobId}:cancel{?api-version}\",\n {\n jobId: jobId,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _cancelGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataGenerationJob> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return dataGenerationJobDeserializer(result.body);\n}\n\n/** Cancels the specified data generation job if it is still in progress. */\nexport async function cancelGenerationJob(\n context: Client,\n jobId: string,\n options: BetaDatasetsCancelGenerationJobOptionalParams = { requestOptions: {} },\n): Promise<DataGenerationJob> {\n const result = await _cancelGenerationJobSend(context, jobId, options);\n return _cancelGenerationJobDeserialize(result);\n}\n\nexport function _createGenerationJobSend(\n context: Client,\n job: DataGenerationJob,\n options: BetaDatasetsCreateGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs{?api-version}\",\n {\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n ...(options?.operationId !== undefined ? { \"operation-id\": options?.operationId } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: dataGenerationJobSerializer(job),\n });\n}\n\nexport async function _createGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataGenerationJobResult> {\n const expectedStatuses = [\"201\", \"200\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n if (result?.body?.result === undefined) {\n throw createRestError(\n `Expected a result in the response at position \"result.body.result\"`,\n result,\n );\n }\n\n return dataGenerationJobResultDeserializer(result.body.result);\n}\n\n/** Submits a new data generation job for asynchronous execution. */\nexport function createGenerationJob(\n context: Client,\n job: DataGenerationJob,\n options: BetaDatasetsCreateGenerationJobOptionalParams = { requestOptions: {} },\n): JobPoller<DataGenerationJobResult> {\n // CUSTOMIZATION: SDK-IMPROVEMENT: `getJobPoller` exposes the queued job id on the poller state.\n return getJobPoller(context, _createGenerationJobDeserialize, [\"201\", \"200\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _createGenerationJobSend(context, job, options),\n resourceLocationConfig: \"operation-location\",\n apiVersion: context.apiVersion ?? \"v1\",\n pollHeaders: {\n ...options?.requestOptions?.headers,\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n },\n });\n}\n\nexport function _listGenerationJobsSend(\n context: Client,\n options: BetaDatasetsListGenerationJobsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs{?limit,order,after,before,api-version}\",\n {\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listGenerationJobsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultDataGenerationJob> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _agentsPagedResultDataGenerationJobDeserializer(result.body);\n}\n\n/** Returns a list of data generation jobs. */\nexport function listGenerationJobs(\n context: Client,\n options: BetaDatasetsListGenerationJobsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<DataGenerationJob> {\n return buildPagedAsyncIterator(\n context,\n () => _listGenerationJobsSend(context, options),\n _listGenerationJobsDeserialize,\n [\"200\"],\n { itemName: \"data\", apiVersion: context.apiVersion ?? \"v1\" },\n );\n}\n\nexport function _getGenerationJobSend(\n context: Client,\n jobId: string,\n options: BetaDatasetsGetGenerationJobOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/data_generation_jobs/{jobId}{?api-version}\",\n {\n jobId: jobId,\n \"api-version\": context.apiVersion ?? \"v1\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"DataGenerationJobs=V1Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getGenerationJobDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataGenerationJob> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return dataGenerationJobDeserializer(result.body);\n}\n\n/** Retrieves the specified data generation job and its current status. */\nexport async function getGenerationJob(\n context: Client,\n jobId: string,\n options: BetaDatasetsGetGenerationJobOptionalParams = { requestOptions: {} },\n): Promise<DataGenerationJob> {\n const result = await _getGenerationJobSend(context, jobId, options);\n return _getGenerationJobDeserialize(result);\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,oBAMO;AAEP,2BAAwC;AAExC,4BAA6B;AAC7B,yBAAkC;AASlC,yBAAqE;AAE9D,SAAS,yBACd,SACA,OACA,UAAyD,EAAE,gBAAgB,CAAC,EAAE,GAC5D;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE;AAAA,MACA,eAAe,QAAQ,cAAc;AAAA,IACvC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,OAAO;AAAA,IAC/B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS;AAAA,MACP,oBAAoB;AAAA,MACpB,GAAG,QAAQ,gBAAgB;AAAA,IAC7B;AAAA,EACF,CAAC;AACH;AAEA,eAAsB,gCACpB,QACe;AACf,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,4CAA6B,OAAO,IAAI;AAAA,IAC1D;AAEA,UAAM;AAAA,EACR;AAEA;AACF;AAGA,eAAsB,oBACpB,SACA,OACA,UAAyD,EAAE,gBAAgB,CAAC,EAAE,GAC/D;AACf,QAAM,SAAS,MAAM,yBAAyB,SAAS,OAAO,OAAO;AACrE,SAAO,gCAAgC,MAAM;AAC/C;AAEO,SAAS,yBACd,SACA,OACA,UAAyD,EAAE,gBAAgB,CAAC,EAAE,GAC5D;AAClB,QAAM,WAAO;AAAA,IACX;AAAA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MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,4CAA6B,OAAO,IAAI;AAAA,IAC1D;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,6CAA8B,OAAO,IAAI;AAClD;AAGA,eAAsB,iBACpB,SACA,OACA,UAAsD,EAAE,gBAAgB,CAAC,EAAE,GAC/C;AAC5B,QAAM,SAAS,MAAM,sBAAsB,SAAS,OAAO,OAAO;AAClE,SAAO,6BAA6B,MAAM;AAC5C;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationOptions } from "@azure-rest/core-client";
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
2
|
import type { FoundryModelWeightType } from "../../../models/models.js";
|
|
3
3
|
/** Optional parameters. */
|
|
4
4
|
export interface BetaModelsGetCredentialsOptionalParams extends OperationOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/models/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/models/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAExE,2BAA2B;AAC3B,MAAM,WAAW,sCAAuC,SAAQ,gBAAgB;CAAG;AAEnF,2BAA2B;AAC3B,MAAM,WAAW,qCAAsC,SAAQ,gBAAgB;CAAG;AAElF,2BAA2B;AAC3B,MAAM,WAAW,4CAA6C,SAAQ,gBAAgB;CAAG;AACzF,4FAA4F;AAC5F,MAAM,WAAW,iCAAkC,SAAQ,gBAAgB;IACzE,gEAAgE;IAChE,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,oEAAoE;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,2BAA2B;AAC3B,MAAM,WAAW,8BAA+B,SAAQ,gBAAgB;CAAG;AAE3E,2BAA2B;AAC3B,MAAM,WAAW,8BAA+B,SAAQ,gBAAgB;CAAG;AAE3E,2BAA2B;AAC3B,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;CAAG;AAExE,2BAA2B;AAC3B,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB;CAAG;AAEzE,2BAA2B;AAC3B,MAAM,WAAW,oCAAqC,SAAQ,gBAAgB;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/api/beta/models/options.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\nimport type { FoundryModelWeightType } from \"../../../models/models.js\";\n\n/** Optional parameters. */\nexport interface BetaModelsGetCredentialsOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsPendingUploadOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsPendingCreateVersionOptionalParams extends OperationOptions {}\n/** Options for the create method that uploads local files and registers a model version. */\nexport interface BetaModelsCreateFromSourceOptions extends OperationOptions {\n /** The weight type of the model (e.g. \"FullWeight\", \"LoRA\"). */\n weightType?: FoundryModelWeightType;\n /** Base model asset ID. */\n baseModel?: string;\n /** Description of the model version. */\n description?: string;\n /** Tag dictionary. */\n tags?: Record<string, string>;\n /** Polling timeout in milliseconds. Default: 300000 (5 minutes). */\n pollingTimeout?: number;\n /** Polling interval in milliseconds. Default: 2000. */\n pollingInterval?: number;\n}\n\n/** Optional parameters. */\nexport interface BetaModelsUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsGetOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsListVersionsOptionalParams extends OperationOptions {}\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\nimport type { FoundryModelWeightType } from \"../../../models/models.js\";\n\n/** Optional parameters. */\nexport interface BetaModelsGetCredentialsOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsPendingUploadOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsPendingCreateVersionOptionalParams extends OperationOptions {}\n/** Options for the create method that uploads local files and registers a model version. */\nexport interface BetaModelsCreateFromSourceOptions extends OperationOptions {\n /** The weight type of the model (e.g. \"FullWeight\", \"LoRA\"). */\n weightType?: FoundryModelWeightType;\n /** Base model asset ID. */\n baseModel?: string;\n /** Description of the model version. */\n description?: string;\n /** Tag dictionary. */\n tags?: Record<string, string>;\n /** Polling timeout in milliseconds. Default: 300000 (5 minutes). */\n pollingTimeout?: number;\n /** Polling interval in milliseconds. Default: 2000. */\n pollingInterval?: number;\n}\n\n/** Optional parameters. */\nexport interface BetaModelsUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsGetOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaModelsListVersionsOptionalParams extends OperationOptions {}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/routines/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,EACV,OAAO,EACP,+BAA+B,EAC/B,kCAAkC,EAClC,UAAU,EACV,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/routines/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,EACV,OAAO,EACP,+BAA+B,EAC/B,kCAAkC,EAClC,UAAU,EACV,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAYnC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAK,EACV,kCAAkC,EAClC,kCAAkC,EAClC,gCAAgC,EAChC,8BAA8B,EAC9B,iCAAiC,EACjC,gCAAgC,EAChC,6BAA6B,EAC7B,wCAAwC,EACzC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGvF,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,kCAA2D,GACnE,gBAAgB,CAyBlB;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,uBAAuB,CAAC,CAYlC;AAED,iEAAiE;AACjE,wBA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EACnB,OAAO,GAAE,wCAAiE,GACzE,OAAO,CAAC,OAAO,CAAC,CAGlB"}
|
|
@@ -355,7 +355,8 @@ function _createOrUpdateSend(context, routineName, options = { requestOptions: {
|
|
|
355
355
|
description: options?.description,
|
|
356
356
|
enabled: options?.enabled,
|
|
357
357
|
triggers: !options?.triggers ? options?.triggers : (0, import_models.routineTriggerUnionRecordSerializer)(options?.triggers),
|
|
358
|
-
action: !options?.action ? options?.action : (0, import_models.routineActionUnionSerializer)(options?.action)
|
|
358
|
+
action: !options?.action ? options?.action : (0, import_models.routineActionUnionSerializer)(options?.action),
|
|
359
|
+
authorization: !options?.authorization ? options?.authorization : (0, import_models.routineAuthorizationSerializer)(options?.authorization)
|
|
359
360
|
}
|
|
360
361
|
});
|
|
361
362
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/api/beta/routines/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n Routine,\n _PagedResultWithNextLinkRoutine,\n _PagedResultWithNextLinkRoutineRun,\n RoutineRun,\n DispatchRoutineResponse,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n routineTriggerUnionRecordSerializer,\n routineActionUnionSerializer,\n routineDeserializer,\n _pagedResultWithNextLinkRoutineDeserializer,\n _pagedResultWithNextLinkRoutineRunDeserializer,\n routineDispatchPayloadUnionSerializer,\n dispatchRoutineResponseDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaRoutinesDispatchOptionalParams,\n BetaRoutinesListRunsOptionalParams,\n BetaRoutinesDeleteOptionalParams,\n BetaRoutinesListOptionalParams,\n BetaRoutinesDisableOptionalParams,\n BetaRoutinesEnableOptionalParams,\n BetaRoutinesGetOptionalParams,\n BetaRoutinesCreateOrUpdateOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _dispatchSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesDispatchOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}:dispatch_async{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n payload: !options?.payload\n ? options?.payload\n : routineDispatchPayloadUnionSerializer(options?.payload),\n },\n });\n}\n\nexport async function _dispatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<DispatchRoutineResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return dispatchRoutineResponseDeserializer(result.body);\n}\n\n/** Queues an asynchronous dispatch for the specified routine. */\nexport async function dispatch(\n context: Client,\n routineName: string,\n options: BetaRoutinesDispatchOptionalParams = { requestOptions: {} },\n): Promise<DispatchRoutineResponse> {\n const result = await _dispatchSend(context, routineName, options);\n return _dispatchDeserialize(result);\n}\n\nexport function _listRunsSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesListRunsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Routines=V2Preview\";\n const path = expandUrlTemplate(\n \"/routines/{routine_name}/runs{?filter,limit,after,order,api-version}\",\n {\n routine_name: routineName,\n filter: options?.filter,\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listRunsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PagedResultWithNextLinkRoutineRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _pagedResultWithNextLinkRoutineRunDeserializer(result.body);\n}\n\n/** Returns prior runs recorded for the specified routine. */\nexport function listRuns(\n context: Client,\n routineName: string,\n options: BetaRoutinesListRunsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<RoutineRun> {\n return buildPagedAsyncIterator(\n context,\n () => _listRunsSend(context, routineName, options),\n _listRunsDeserialize,\n [\"200\"],\n {\n itemName: \"data\",\n nextLinkName: \"next_link\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n },\n },\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Routines=V2Preview\";\n const path = expandUrlTemplate(\n \"/routines/{routine_name}{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes the specified routine. */\nexport async function $delete(\n context: Client,\n routineName: string,\n options: BetaRoutinesDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, routineName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n options: BetaRoutinesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines{?limit,after,order,api-version}\",\n {\n limit: options?.limit,\n after: options?.after,\n order: options?.order,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PagedResultWithNextLinkRoutine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _pagedResultWithNextLinkRoutineDeserializer(result.body);\n}\n\n/** Returns the routines available in the current project. */\nexport function list(\n context: Client,\n options: BetaRoutinesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Routine> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"data\",\n nextLinkName: \"next_link\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n },\n },\n },\n );\n}\n\nexport function _disableSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesDisableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}:disable{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _disableDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Disables the specified routine so it no longer runs. */\nexport async function disable(\n context: Client,\n routineName: string,\n options: BetaRoutinesDisableOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _disableSend(context, routineName, options);\n return _disableDeserialize(result);\n}\n\nexport function _enableSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesEnableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}:enable{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _enableDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Enables the specified routine so it can be dispatched. */\nexport async function enable(\n context: Client,\n routineName: string,\n options: BetaRoutinesEnableOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _enableSend(context, routineName, options);\n return _enableDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Retrieves the specified routine and its current configuration. */\nexport async function get(\n context: Client,\n routineName: string,\n options: BetaRoutinesGetOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _getSend(context, routineName, options);\n return _getDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Routines=V2Preview\";\n const path = expandUrlTemplate(\n \"/routines/{routine_name}{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n description: options?.description,\n enabled: options?.enabled,\n triggers: !options?.triggers\n ? options?.triggers\n : routineTriggerUnionRecordSerializer(options?.triggers),\n action: !options?.action ? options?.action : routineActionUnionSerializer(options?.action),\n },\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Creates a new routine or replaces an existing routine with the supplied definition. */\nexport async function createOrUpdate(\n context: Client,\n routineName: string,\n options: BetaRoutinesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _createOrUpdateSend(context, routineName, options);\n return _createOrUpdateDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n Routine,\n _PagedResultWithNextLinkRoutine,\n _PagedResultWithNextLinkRoutineRun,\n RoutineRun,\n DispatchRoutineResponse,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n routineTriggerUnionRecordSerializer,\n routineActionUnionSerializer,\n routineAuthorizationSerializer,\n routineDeserializer,\n _pagedResultWithNextLinkRoutineDeserializer,\n _pagedResultWithNextLinkRoutineRunDeserializer,\n routineDispatchPayloadUnionSerializer,\n dispatchRoutineResponseDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaRoutinesDispatchOptionalParams,\n BetaRoutinesListRunsOptionalParams,\n BetaRoutinesDeleteOptionalParams,\n BetaRoutinesListOptionalParams,\n BetaRoutinesDisableOptionalParams,\n BetaRoutinesEnableOptionalParams,\n BetaRoutinesGetOptionalParams,\n BetaRoutinesCreateOrUpdateOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _dispatchSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesDispatchOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}:dispatch_async{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n payload: !options?.payload\n ? options?.payload\n : routineDispatchPayloadUnionSerializer(options?.payload),\n },\n });\n}\n\nexport async function _dispatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<DispatchRoutineResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return dispatchRoutineResponseDeserializer(result.body);\n}\n\n/** Queues an asynchronous dispatch for the specified routine. */\nexport async function dispatch(\n context: Client,\n routineName: string,\n options: BetaRoutinesDispatchOptionalParams = { requestOptions: {} },\n): Promise<DispatchRoutineResponse> {\n const result = await _dispatchSend(context, routineName, options);\n return _dispatchDeserialize(result);\n}\n\nexport function _listRunsSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesListRunsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Routines=V2Preview\";\n const path = expandUrlTemplate(\n \"/routines/{routine_name}/runs{?filter,limit,after,order,api-version}\",\n {\n routine_name: routineName,\n filter: options?.filter,\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listRunsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PagedResultWithNextLinkRoutineRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _pagedResultWithNextLinkRoutineRunDeserializer(result.body);\n}\n\n/** Returns prior runs recorded for the specified routine. */\nexport function listRuns(\n context: Client,\n routineName: string,\n options: BetaRoutinesListRunsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<RoutineRun> {\n return buildPagedAsyncIterator(\n context,\n () => _listRunsSend(context, routineName, options),\n _listRunsDeserialize,\n [\"200\"],\n {\n itemName: \"data\",\n nextLinkName: \"next_link\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n },\n },\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Routines=V2Preview\";\n const path = expandUrlTemplate(\n \"/routines/{routine_name}{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes the specified routine. */\nexport async function $delete(\n context: Client,\n routineName: string,\n options: BetaRoutinesDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, routineName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n options: BetaRoutinesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines{?limit,after,order,api-version}\",\n {\n limit: options?.limit,\n after: options?.after,\n order: options?.order,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PagedResultWithNextLinkRoutine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _pagedResultWithNextLinkRoutineDeserializer(result.body);\n}\n\n/** Returns the routines available in the current project. */\nexport function list(\n context: Client,\n options: BetaRoutinesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Routine> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"data\",\n nextLinkName: \"next_link\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n },\n },\n },\n );\n}\n\nexport function _disableSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesDisableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}:disable{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _disableDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Disables the specified routine so it no longer runs. */\nexport async function disable(\n context: Client,\n routineName: string,\n options: BetaRoutinesDisableOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _disableSend(context, routineName, options);\n return _disableDeserialize(result);\n}\n\nexport function _enableSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesEnableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}:enable{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _enableDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Enables the specified routine so it can be dispatched. */\nexport async function enable(\n context: Client,\n routineName: string,\n options: BetaRoutinesEnableOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _enableSend(context, routineName, options);\n return _enableDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/routines/{routine_name}{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": \"Routines=V2Preview\",\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Retrieves the specified routine and its current configuration. */\nexport async function get(\n context: Client,\n routineName: string,\n options: BetaRoutinesGetOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _getSend(context, routineName, options);\n return _getDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n routineName: string,\n options: BetaRoutinesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Routines=V2Preview\";\n const path = expandUrlTemplate(\n \"/routines/{routine_name}{?api-version}\",\n {\n routine_name: routineName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n description: options?.description,\n enabled: options?.enabled,\n triggers: !options?.triggers\n ? options?.triggers\n : routineTriggerUnionRecordSerializer(options?.triggers),\n action: !options?.action ? options?.action : routineActionUnionSerializer(options?.action),\n authorization: !options?.authorization\n ? options?.authorization\n : routineAuthorizationSerializer(options?.authorization),\n },\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Routine> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = apiErrorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return routineDeserializer(result.body);\n}\n\n/** Creates a new routine or replaces an existing routine with the supplied definition. */\nexport async function createOrUpdate(\n context: Client,\n routineName: string,\n options: BetaRoutinesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<Routine> {\n const result = await _createOrUpdateSend(context, routineName, options);\n return _createOrUpdateDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,oBAUO;AAEP,2BAAwC;AACxC,yBAAkC;AAYlC,yBAAqE;AAE9D,SAAS,cACd,SACA,aACA,UAA8C,EAAE,gBAAgB,CAAC,EAAE,GACjD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,cAAc;AAAA,MACd,eAAe,QAAQ;AAAA,IACzB;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,aAAa;AAAA,IACb,SAAS;AAAA,MACP,oBAAoB;AAAA,MACpB,QAAQ;AAAA,MACR,GAAG,QAAQ,gBAAgB;AAAA,IAC7B;AAAA,IACA,MAAM;AAAA,MACJ,SAAS,CAAC,SAAS,UACf,SAAS,cACT,qDAAsC,SAAS,OAAO;AAAA,IAC5D;AAAA,EACF,CAAC;AACH;AA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outineActionUnion, RoutineDispatchPayloadUnion } from "../../../models/models.js";
|
|
1
|
+
import type { RoutineTriggerUnion, RoutineActionUnion, RoutineAuthorization, RoutineDispatchPayloadUnion } from "../../../models/models.js";
|
|
2
2
|
import type { OperationOptions } from "@azure-rest/core-client";
|
|
3
3
|
/** Optional parameters. */
|
|
4
4
|
export interface BetaRoutinesDispatchOptionalParams extends OperationOptions {
|
|
@@ -73,5 +73,7 @@ export interface BetaRoutinesCreateOrUpdateOptionalParams extends OperationOptio
|
|
|
73
73
|
triggers?: Record<string, RoutineTriggerUnion>;
|
|
74
74
|
/** The action executed when the routine fires. */
|
|
75
75
|
action?: RoutineActionUnion;
|
|
76
|
+
/** Optional authorization configuration for dispatching a newly created routine. Ignored when updating an existing routine. */
|
|
77
|
+
authorization?: RoutineAuthorization;
|
|
76
78
|
}
|
|
77
79
|
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/routines/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,2BAA2B;AAC3B,MAAM,WAAW,kCAAmC,SAAQ,gBAAgB;IAC1E,6GAA6G;IAC7G,eAAe,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAAC;IAC9D,6EAA6E;IAC7E,OAAO,CAAC,EAAE,2BAA2B,CAAC;CACvC;AAED,2BAA2B;AAC3B,MAAM,WAAW,kCAAmC,SAAQ,gBAAgB;IAC1E,6GAA6G;IAC7G,eAAe,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAAC;IAC9D,gGAAgG;IAChG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;I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9D,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sKAAsK;IACtK,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,2BAA2B;AAC3B,MAAM,WAAW,iCAAkC,SAAQ,gBAAgB;IACzE,6GAA6G;IAC7G,eAAe,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAAC;CAC/D;AAED,2BAA2B;AAC3B,MAAM,WAAW,gCAAiC,SAAQ,gBAAgB;IACxE,6GAA6G;IAC7G,eAAe,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAAC;CAC/D;AAED,2BAA2B;AAC3B,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE,6GAA6G;IAC7G,eAAe,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAAC;CAC/D;AAED,2BAA2B;AAC3B,MAAM,WAAW,wCAAyC,SAAQ,gBAAgB;IAChF,6GAA6G;IAC7G,eAAe,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAAC;IAC9D,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC/C,kDAAkD;IAClD,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,+HAA+H;IAC/H,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACtC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/api/beta/routines/options.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n RoutineTriggerUnion,\n RoutineActionUnion,\n RoutineDispatchPayloadUnion,\n} from \"../../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface BetaRoutinesDispatchOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** A direct action-input override sent downstream when testing a routine. */\n payload?: RoutineDispatchPayloadUnion;\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesListRunsOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** An optional MLflow search-runs filter expression applied within the routine's experiment. */\n filter?: string;\n /** The maximum number of runs to return. */\n limit?: number;\n /** An opaque continuation token identifying where to resume the list. Prefer following the `next_link` returned by the previous response, which embeds this value. */\n after?: string;\n /** Unsupported. Reserved for backward compatibility. */\n before?: string;\n /**\n * Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc`\n * for descending order.\n */\n order?: string;\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesDeleteOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesListOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** The maximum number of routines to return. */\n limit?: number;\n /** An opaque continuation token identifying where to resume the list. Prefer following the `next_link` returned by the previous response, which embeds this value. */\n after?: string;\n /** Unsupported. Reserved for backward compatibility. */\n before?: string;\n /**\n * Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc`\n * for descending order.\n */\n order?: string;\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesDisableOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesEnableOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesGetOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesCreateOrUpdateOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** A human-readable description of the routine. */\n description?: string;\n /** Whether the routine is enabled. */\n enabled?: boolean;\n /** The triggers configured for the routine. In v1, exactly one trigger entry is supported. */\n triggers?: Record<string, RoutineTriggerUnion>;\n /** The action executed when the routine fires. */\n action?: RoutineActionUnion;\n}\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n RoutineTriggerUnion,\n RoutineActionUnion,\n RoutineAuthorization,\n RoutineDispatchPayloadUnion,\n} from \"../../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface BetaRoutinesDispatchOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** A direct action-input override sent downstream when testing a routine. */\n payload?: RoutineDispatchPayloadUnion;\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesListRunsOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** An optional MLflow search-runs filter expression applied within the routine's experiment. */\n filter?: string;\n /** The maximum number of runs to return. */\n limit?: number;\n /** An opaque continuation token identifying where to resume the list. Prefer following the `next_link` returned by the previous response, which embeds this value. */\n after?: string;\n /** Unsupported. Reserved for backward compatibility. */\n before?: string;\n /**\n * Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc`\n * for descending order.\n */\n order?: string;\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesDeleteOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesListOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** The maximum number of routines to return. */\n limit?: number;\n /** An opaque continuation token identifying where to resume the list. Prefer following the `next_link` returned by the previous response, which embeds this value. */\n after?: string;\n /** Unsupported. Reserved for backward compatibility. */\n before?: string;\n /**\n * Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc`\n * for descending order.\n */\n order?: string;\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesDisableOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesEnableOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesGetOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n}\n\n/** Optional parameters. */\nexport interface BetaRoutinesCreateOrUpdateOptionalParams extends OperationOptions {\n /** A feature flag opt-in required when using preview operations or modifying persisted preview resources. */\n foundryFeatures?: \"Routines=V1Preview\" | \"Routines=V2Preview\";\n /** A human-readable description of the routine. */\n description?: string;\n /** Whether the routine is enabled. */\n enabled?: boolean;\n /** The triggers configured for the routine. In v1, exactly one trigger entry is supported. */\n triggers?: Record<string, RoutineTriggerUnion>;\n /** The action executed when the routine fires. */\n action?: RoutineActionUnion;\n /** Optional authorization configuration for dispatching a newly created routine. Ignored when updating an existing routine. */\n authorization?: RoutineAuthorization;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { downloadAudio, getAudio, downloadGeneratedAudioItem, getGeneratedAudioItem, downloadAudioItem, getAudioItem, getItem, listItems, listResponseItems, getResponse, listResponses, $delete, get, list, } from "./operations.js";
|
|
2
|
+
export type { BetaVoiceAgentsConversationsDownloadAudioOptionalParams, BetaVoiceAgentsConversationsGetAudioOptionalParams, BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams, BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams, BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams, BetaVoiceAgentsConversationsGetAudioItemOptionalParams, BetaVoiceAgentsConversationsGetItemOptionalParams, BetaVoiceAgentsConversationsListItemsOptionalParams, BetaVoiceAgentsConversationsListResponseItemsOptionalParams, BetaVoiceAgentsConversationsGetResponseOptionalParams, BetaVoiceAgentsConversationsListResponsesOptionalParams, BetaVoiceAgentsConversationsDeleteOptionalParams, BetaVoiceAgentsConversationsGetOptionalParams, BetaVoiceAgentsConversationsListOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/beta/voiceAgents/conversations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EACb,QAAQ,EACR,0BAA0B,EAC1B,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,OAAO,EACP,GAAG,EACH,IAAI,GACL,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,uDAAuD,EACvD,kDAAkD,EAClD,oEAAoE,EACpE,+DAA+D,EAC/D,2DAA2D,EAC3D,sDAAsD,EACtD,iDAAiD,EACjD,mDAAmD,EACnD,2DAA2D,EAC3D,qDAAqD,EACrD,uDAAuD,EACvD,gDAAgD,EAChD,6CAA6C,EAC7C,8CAA8C,GAC/C,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 conversations_exports = {};
|
|
19
|
+
__export(conversations_exports, {
|
|
20
|
+
$delete: () => import_operations.$delete,
|
|
21
|
+
downloadAudio: () => import_operations.downloadAudio,
|
|
22
|
+
downloadAudioItem: () => import_operations.downloadAudioItem,
|
|
23
|
+
downloadGeneratedAudioItem: () => import_operations.downloadGeneratedAudioItem,
|
|
24
|
+
get: () => import_operations.get,
|
|
25
|
+
getAudio: () => import_operations.getAudio,
|
|
26
|
+
getAudioItem: () => import_operations.getAudioItem,
|
|
27
|
+
getGeneratedAudioItem: () => import_operations.getGeneratedAudioItem,
|
|
28
|
+
getItem: () => import_operations.getItem,
|
|
29
|
+
getResponse: () => import_operations.getResponse,
|
|
30
|
+
list: () => import_operations.list,
|
|
31
|
+
listItems: () => import_operations.listItems,
|
|
32
|
+
listResponseItems: () => import_operations.listResponseItems,
|
|
33
|
+
listResponses: () => import_operations.listResponses
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(conversations_exports);
|
|
36
|
+
var import_operations = require("./operations.js");
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
$delete,
|
|
40
|
+
downloadAudio,
|
|
41
|
+
downloadAudioItem,
|
|
42
|
+
downloadGeneratedAudioItem,
|
|
43
|
+
get,
|
|
44
|
+
getAudio,
|
|
45
|
+
getAudioItem,
|
|
46
|
+
getGeneratedAudioItem,
|
|
47
|
+
getItem,
|
|
48
|
+
getResponse,
|
|
49
|
+
list,
|
|
50
|
+
listItems,
|
|
51
|
+
listResponseItems,
|
|
52
|
+
listResponses
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/api/beta/voiceAgents/conversations/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n downloadAudio,\n getAudio,\n downloadGeneratedAudioItem,\n getGeneratedAudioItem,\n downloadAudioItem,\n getAudioItem,\n getItem,\n listItems,\n listResponseItems,\n getResponse,\n listResponses,\n $delete,\n get,\n list,\n} from \"./operations.js\";\nexport type {\n BetaVoiceAgentsConversationsDownloadAudioOptionalParams,\n BetaVoiceAgentsConversationsGetAudioOptionalParams,\n BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams,\n BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetAudioItemOptionalParams,\n BetaVoiceAgentsConversationsGetItemOptionalParams,\n BetaVoiceAgentsConversationsListItemsOptionalParams,\n BetaVoiceAgentsConversationsListResponseItemsOptionalParams,\n BetaVoiceAgentsConversationsGetResponseOptionalParams,\n BetaVoiceAgentsConversationsListResponsesOptionalParams,\n BetaVoiceAgentsConversationsDeleteOptionalParams,\n BetaVoiceAgentsConversationsGetOptionalParams,\n BetaVoiceAgentsConversationsListOptionalParams,\n} from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAeO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import type { AIProjectContext as Client } from "../../../index.js";
|
|
2
|
+
import type { _AgentsPagedResultVoiceConversation, VoiceConversation, _AgentsPagedResultVoiceResponse, VoiceResponse, RealtimeConversationItemUnion, _AgentsPagedResultRealtimeConversationItem, VoiceAudioItem, VoiceGeneratedAudioItem, VoiceRecording, BetaVoiceAgentsConversationsDownloadAudioResponse, BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse, BetaVoiceAgentsConversationsDownloadAudioItemResponse } from "../../../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
4
|
+
import type { BetaVoiceAgentsConversationsDownloadAudioOptionalParams, BetaVoiceAgentsConversationsGetAudioOptionalParams, BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams, BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams, BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams, BetaVoiceAgentsConversationsGetAudioItemOptionalParams, BetaVoiceAgentsConversationsGetItemOptionalParams, BetaVoiceAgentsConversationsListItemsOptionalParams, BetaVoiceAgentsConversationsListResponseItemsOptionalParams, BetaVoiceAgentsConversationsGetResponseOptionalParams, BetaVoiceAgentsConversationsListResponsesOptionalParams, BetaVoiceAgentsConversationsDeleteOptionalParams, BetaVoiceAgentsConversationsGetOptionalParams, BetaVoiceAgentsConversationsListOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _downloadAudioSend(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsDownloadAudioOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _downloadAudioDeserialize(result: PathUncheckedResponse & BetaVoiceAgentsConversationsDownloadAudioResponse): Promise<BetaVoiceAgentsConversationsDownloadAudioResponse>;
|
|
8
|
+
/**
|
|
9
|
+
* Streams the whole-call merged stereo recording as a WAV (`audio/wav`) byte stream through the service
|
|
10
|
+
* (no SAS URL). This route serves Foundry-managed storage only. For bring-your-own-storage (BYOS)
|
|
11
|
+
* recordings the bytes are not proxied — the caller must download directly from customer storage using the
|
|
12
|
+
* `blob_uri` returned by the metadata route — so this route returns `409 Conflict` for BYOS recordings.
|
|
13
|
+
* While the conversation is `in_progress`, this route returns retriable `409 Conflict` with
|
|
14
|
+
* `error.code = recording_not_ready` and a `Retry-After` header when retry guidance is available. When the
|
|
15
|
+
* conversation is `failed`, it returns terminal `409 Conflict` with `error.code = recording_unavailable`.
|
|
16
|
+
* For a `completed` conversation, content is available subject to the existing BYOS behavior. A conversation
|
|
17
|
+
* without persisted audio (`store = false`) returns `404`.
|
|
18
|
+
*/
|
|
19
|
+
export declare function downloadAudio(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsDownloadAudioOptionalParams): Promise<BetaVoiceAgentsConversationsDownloadAudioResponse>;
|
|
20
|
+
export declare function _getAudioSend(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsGetAudioOptionalParams): StreamableMethod;
|
|
21
|
+
export declare function _getAudioDeserialize(result: PathUncheckedResponse): Promise<VoiceRecording>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns metadata for the whole-call merged stereo recording (user audio on the left channel, agent audio
|
|
24
|
+
* on the right). The common metadata (format, sample rate, channels, channel layout, duration) is returned
|
|
25
|
+
* for both Foundry-managed and bring-your-own-storage (BYOS) recordings; for BYOS the response additionally
|
|
26
|
+
* includes `blob_uri`, the URI of the recording in the customer's own storage (no SAS) that the customer downloads
|
|
27
|
+
* with their own credentials. The recording is built once from the per-turn segments after persistence
|
|
28
|
+
* finalization succeeds. While the conversation is `in_progress`, this route returns retriable `409 Conflict`
|
|
29
|
+
* with `error.code = recording_not_ready` and a `Retry-After` header when retry guidance is available. When the
|
|
30
|
+
* conversation is `failed`, it returns terminal `409 Conflict` with `error.code = recording_unavailable`.
|
|
31
|
+
* For a `completed` conversation, metadata is available subject to the existing BYOS behavior. Requires the
|
|
32
|
+
* conversation to have persisted audio (`store = true`); otherwise returns `404`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function getAudio(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsGetAudioOptionalParams): Promise<VoiceRecording>;
|
|
35
|
+
export declare function _downloadGeneratedAudioItemSend(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams): StreamableMethod;
|
|
36
|
+
export declare function _downloadGeneratedAudioItemDeserialize(result: PathUncheckedResponse & BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse): Promise<BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Streams a conversation item's generated audio as a WAV (`audio/wav`) byte stream through the service. This
|
|
39
|
+
* subordinate artifact exists only when playback was interrupted and the service rendered more audio than the
|
|
40
|
+
* listener heard, including when the response ends as cancelled. This route serves Foundry-managed storage only.
|
|
41
|
+
* For bring-your-own-storage (BYOS) recordings the bytes are not proxied, so this route returns `409 Conflict`.
|
|
42
|
+
* Returns `404` when the conversation or item was not persisted, or when no generated audio exists beyond the
|
|
43
|
+
* heard segment.
|
|
44
|
+
*/
|
|
45
|
+
export declare function downloadGeneratedAudioItem(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams): Promise<BetaVoiceAgentsConversationsDownloadGeneratedAudioItemResponse>;
|
|
46
|
+
export declare function _getGeneratedAudioItemSend(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams): StreamableMethod;
|
|
47
|
+
export declare function _getGeneratedAudioItemDeserialize(result: PathUncheckedResponse): Promise<VoiceGeneratedAudioItem>;
|
|
48
|
+
/**
|
|
49
|
+
* Returns metadata for a conversation item's generated audio. This subordinate artifact is separate from the
|
|
50
|
+
* canonical heard-audio segment and exists only when playback was interrupted and the service rendered more audio
|
|
51
|
+
* than the listener heard, including when the response ends as cancelled. Returns `404` when the conversation or
|
|
52
|
+
* item was not persisted, or when no generated audio exists beyond the heard segment.
|
|
53
|
+
*/
|
|
54
|
+
export declare function getGeneratedAudioItem(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsGetGeneratedAudioItemOptionalParams): Promise<VoiceGeneratedAudioItem>;
|
|
55
|
+
export declare function _downloadAudioItemSend(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams): StreamableMethod;
|
|
56
|
+
export declare function _downloadAudioItemDeserialize(result: PathUncheckedResponse & BetaVoiceAgentsConversationsDownloadAudioItemResponse): Promise<BetaVoiceAgentsConversationsDownloadAudioItemResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Streams a single conversation item's audio as a WAV (`audio/wav`) byte stream through the service (no SAS
|
|
59
|
+
* URL). This route serves Foundry-managed storage only. For bring-your-own-storage (BYOS) recordings the
|
|
60
|
+
* bytes are not proxied — the caller must download directly from customer storage using the `blob_uri`
|
|
61
|
+
* returned by the item's `/audio` metadata route — so this route returns `409 Conflict` for BYOS recordings.
|
|
62
|
+
* Returns `404` when the conversation, item, or its audio was not persisted (`store = false`).
|
|
63
|
+
*/
|
|
64
|
+
export declare function downloadAudioItem(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsDownloadAudioItemOptionalParams): Promise<BetaVoiceAgentsConversationsDownloadAudioItemResponse>;
|
|
65
|
+
export declare function _getAudioItemSend(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsGetAudioItemOptionalParams): StreamableMethod;
|
|
66
|
+
export declare function _getAudioItemDeserialize(result: PathUncheckedResponse): Promise<VoiceAudioItem>;
|
|
67
|
+
/**
|
|
68
|
+
* Returns metadata for a single conversation item's audio segment, including the common playback facts
|
|
69
|
+
* (role, format/codec, sample rate, channels, offset, duration) for both Foundry-managed and
|
|
70
|
+
* bring-your-own-storage (BYOS) recordings; for BYOS the response additionally includes `blob_uri`, the URI
|
|
71
|
+
* of the recording in the customer's own storage (no SAS) that the customer downloads with their own credentials.
|
|
72
|
+
* Requires the conversation to have persisted audio (`store = true`); returns `404` when the conversation,
|
|
73
|
+
* item, or its audio was not persisted.
|
|
74
|
+
*/
|
|
75
|
+
export declare function getAudioItem(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsGetAudioItemOptionalParams): Promise<VoiceAudioItem>;
|
|
76
|
+
export declare function _getItemSend(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsGetItemOptionalParams): StreamableMethod;
|
|
77
|
+
export declare function _getItemDeserialize(result: PathUncheckedResponse): Promise<RealtimeConversationItemUnion>;
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves a single item from the specified conversation by its id, including its transcript. An
|
|
80
|
+
* `input_audio`/`output_audio` content part indicates that audio is available for the item; the canonical per-item
|
|
81
|
+
* audio metadata is the `/items/{item_id}/audio` resource, and the bytes are streamed by
|
|
82
|
+
* `/items/{item_id}/audio/content`. Returns `404` when the conversation or item was not persisted
|
|
83
|
+
* (`store = false`).
|
|
84
|
+
*/
|
|
85
|
+
export declare function getItem(context: Client, agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsConversationsGetItemOptionalParams): Promise<RealtimeConversationItemUnion>;
|
|
86
|
+
export declare function _listItemsSend(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsListItemsOptionalParams): StreamableMethod;
|
|
87
|
+
export declare function _listItemsDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultRealtimeConversationItem>;
|
|
88
|
+
/**
|
|
89
|
+
* Returns a paged collection of items — the complete ordered conversation history, including user input,
|
|
90
|
+
* assistant output, and client-created tool outputs (transcripts + tool events). Returns `404` when the
|
|
91
|
+
* conversation was not persisted (`store = false`).
|
|
92
|
+
*/
|
|
93
|
+
export declare function listItems(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsListItemsOptionalParams): PagedAsyncIterableIterator<RealtimeConversationItemUnion>;
|
|
94
|
+
export declare function _listResponseItemsSend(context: Client, agentName: string, conversationId: string, responseId: string, options?: BetaVoiceAgentsConversationsListResponseItemsOptionalParams): StreamableMethod;
|
|
95
|
+
export declare function _listResponseItemsDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultRealtimeConversationItem>;
|
|
96
|
+
/**
|
|
97
|
+
* Returns a paged collection of the output items produced by a specific response (the response's output
|
|
98
|
+
* projection). For the complete ordered conversation history — including user input and client-created
|
|
99
|
+
* tool outputs — use the conversation items route instead. Returns `404` when the conversation or
|
|
100
|
+
* response was not persisted (`store = false`).
|
|
101
|
+
*/
|
|
102
|
+
export declare function listResponseItems(context: Client, agentName: string, conversationId: string, responseId: string, options?: BetaVoiceAgentsConversationsListResponseItemsOptionalParams): PagedAsyncIterableIterator<RealtimeConversationItemUnion>;
|
|
103
|
+
export declare function _getResponseSend(context: Client, agentName: string, conversationId: string, responseId: string, options?: BetaVoiceAgentsConversationsGetResponseOptionalParams): StreamableMethod;
|
|
104
|
+
export declare function _getResponseDeserialize(result: PathUncheckedResponse): Promise<VoiceResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieves a single response from the specified conversation by its id, including its `output` items,
|
|
107
|
+
* `usage`, and status. Returns `404` when the conversation or response was not persisted (`store = false`).
|
|
108
|
+
*/
|
|
109
|
+
export declare function getResponse(context: Client, agentName: string, conversationId: string, responseId: string, options?: BetaVoiceAgentsConversationsGetResponseOptionalParams): Promise<VoiceResponse>;
|
|
110
|
+
export declare function _listResponsesSend(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsListResponsesOptionalParams): StreamableMethod;
|
|
111
|
+
export declare function _listResponsesDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultVoiceResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Returns a paged collection of the responses (model inference turns) recorded for the specified
|
|
114
|
+
* conversation. The per-response `output` projection may be omitted here; use the response-items route
|
|
115
|
+
* for the canonical paged output. Returns `404` when the conversation was not persisted (`store = false`).
|
|
116
|
+
*/
|
|
117
|
+
export declare function listResponses(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsListResponsesOptionalParams): PagedAsyncIterableIterator<VoiceResponse>;
|
|
118
|
+
export declare function _$deleteSend(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsDeleteOptionalParams): StreamableMethod;
|
|
119
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* Deletes a conversation and all of its stored data — responses, items, and any audio (cascade). This is
|
|
122
|
+
* the customer's explicit data-deletion control for voice conversations.
|
|
123
|
+
*/
|
|
124
|
+
export declare function $delete(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsDeleteOptionalParams): Promise<void>;
|
|
125
|
+
export declare function _getSend(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsGetOptionalParams): StreamableMethod;
|
|
126
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<VoiceConversation>;
|
|
127
|
+
/**
|
|
128
|
+
* Retrieves a single conversation recorded for the specified voice agent endpoint by its id.
|
|
129
|
+
* Returns `404` when the conversation was not persisted (`store = false`) or does not exist.
|
|
130
|
+
*/
|
|
131
|
+
export declare function get(context: Client, agentName: string, conversationId: string, options?: BetaVoiceAgentsConversationsGetOptionalParams): Promise<VoiceConversation>;
|
|
132
|
+
export declare function _listSend(context: Client, agentName: string, options?: BetaVoiceAgentsConversationsListOptionalParams): StreamableMethod;
|
|
133
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultVoiceConversation>;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the conversations persisted for the specified voice agent endpoint.
|
|
136
|
+
* Conversations are present when the session's effective `store` setting is `true`, whether inherited from the
|
|
137
|
+
* agent definition or enabled by the WebSocket session override.
|
|
138
|
+
*/
|
|
139
|
+
export declare function list(context: Client, agentName: string, options?: BetaVoiceAgentsConversationsListOptionalParams): PagedAsyncIterableIterator<VoiceConversation>;
|
|
140
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../../src/api/beta/voiceAgents/conversations/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EACV,mCAAmC,EACnC,iBAAiB,EACjB,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,0CAA0C,EAC1C,cAAc,EACd,uBAAuB,EACvB,cA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