@azure/ai-projects 2.6.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 +62 -1
- 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 +1 -1
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +91 -1
- 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/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/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/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 +6 -1
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +4 -1
- package/dist/browser/classic/beta/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 +15 -4
- 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 +2 -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 +4198 -28
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +4881 -22
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/package.json +1 -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/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 +1 -1
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js.map +1 -1
- package/dist/commonjs/api/agents/options.d.ts +91 -1
- 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/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/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/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 +6 -1
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +5 -2
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- 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 +15 -4
- 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 +2 -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 +4198 -28
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +5809 -32
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/package.json +1 -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/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 +1 -1
- package/dist/esm/api/agents/index.d.ts.map +1 -1
- package/dist/esm/api/agents/index.js.map +1 -1
- package/dist/esm/api/agents/options.d.ts +91 -1
- 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/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/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/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 +6 -1
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +4 -1
- package/dist/esm/classic/beta/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 +15 -4
- 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 +2 -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 +4198 -28
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +4881 -22
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/package.json +1 -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/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 +1 -1
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +91 -1
- 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/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/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/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 +6 -1
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +4 -1
- package/dist/react-native/classic/beta/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 +15 -4
- 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 +2 -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 +4198 -28
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +4881 -22
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/package.json +1 -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/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 +8 -6
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { apiErrorResponseDeserializer, createTelephonyCallJobRequestSerializer, telephonyCallJobDeserializer, _agentsPagedResultTelephonyBindingListItemDeserializer, _agentsPagedResultTelephonyCallSummaryDeserializer, createTelephonyBindingRequestUnionSerializer, telephonyBindingUnionDeserializer, telephonyCallRecordDeserializer, telephonyTransferTargetArraySerializer, telephonyTransferTargetsDeserializer, updateTelephonyBindingRequestSerializer, } from "../../../../models/models.js";
|
|
4
|
+
import { expandUrlTemplate } from "../../../../static-helpers/urlTemplate.js";
|
|
5
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
6
|
+
import { buildPagedAsyncIterator } from "../../../../static-helpers/pagingHelpers.js";
|
|
7
|
+
export function _cancelCallJobSend(context, agentName, callJobId, ifMatch, options = { requestOptions: {} }) {
|
|
8
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/call_jobs/{call_job_id}:cancel{?api%2Dversion}", {
|
|
9
|
+
agent_name: agentName,
|
|
10
|
+
call_job_id: callJobId,
|
|
11
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
12
|
+
}, {
|
|
13
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
14
|
+
});
|
|
15
|
+
return context.path(path).post({
|
|
16
|
+
...operationOptionsToRequestParameters(options),
|
|
17
|
+
headers: {
|
|
18
|
+
...(options?.foundryFeatures !== undefined
|
|
19
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
20
|
+
: {}),
|
|
21
|
+
"if-match": ifMatch,
|
|
22
|
+
accept: "application/json",
|
|
23
|
+
...options.requestOptions?.headers,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function _cancelCallJobDeserialize(result) {
|
|
28
|
+
const expectedStatuses = ["200", "202"];
|
|
29
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
30
|
+
const error = createRestError(result);
|
|
31
|
+
if (result.body) {
|
|
32
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
33
|
+
}
|
|
34
|
+
throw error;
|
|
35
|
+
}
|
|
36
|
+
return telephonyCallJobDeserializer(result.body);
|
|
37
|
+
}
|
|
38
|
+
/** Requests cancellation of a durable outbound call job. A connected call is allowed to finish. */
|
|
39
|
+
export async function cancelCallJob(context, agentName, callJobId, ifMatch, options = { requestOptions: {} }) {
|
|
40
|
+
const result = await _cancelCallJobSend(context, agentName, callJobId, ifMatch, options);
|
|
41
|
+
return _cancelCallJobDeserialize(result);
|
|
42
|
+
}
|
|
43
|
+
export function _getCallJobSend(context, agentName, callJobId, options = { requestOptions: {} }) {
|
|
44
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/call_jobs/{call_job_id}{?api%2Dversion}", {
|
|
45
|
+
agent_name: agentName,
|
|
46
|
+
call_job_id: callJobId,
|
|
47
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
48
|
+
}, {
|
|
49
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
50
|
+
});
|
|
51
|
+
return context.path(path).get({
|
|
52
|
+
...operationOptionsToRequestParameters(options),
|
|
53
|
+
headers: {
|
|
54
|
+
...(options?.foundryFeatures !== undefined
|
|
55
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
56
|
+
: {}),
|
|
57
|
+
accept: "application/json",
|
|
58
|
+
...options.requestOptions?.headers,
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
export async function _getCallJobDeserialize(result) {
|
|
63
|
+
const expectedStatuses = ["200"];
|
|
64
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
65
|
+
const error = createRestError(result);
|
|
66
|
+
if (result.body) {
|
|
67
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
68
|
+
}
|
|
69
|
+
throw error;
|
|
70
|
+
}
|
|
71
|
+
return telephonyCallJobDeserializer(result.body);
|
|
72
|
+
}
|
|
73
|
+
/** Retrieves a durable direct or campaign-created outbound call job. */
|
|
74
|
+
export async function getCallJob(context, agentName, callJobId, options = { requestOptions: {} }) {
|
|
75
|
+
const result = await _getCallJobSend(context, agentName, callJobId, options);
|
|
76
|
+
return _getCallJobDeserialize(result);
|
|
77
|
+
}
|
|
78
|
+
export function _createCallJobSend(context, agentName, idempotencyKey, body, options = { requestOptions: {} }) {
|
|
79
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/call_jobs{?api%2Dversion}", {
|
|
80
|
+
agent_name: agentName,
|
|
81
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
82
|
+
}, {
|
|
83
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
84
|
+
});
|
|
85
|
+
return context.path(path).post({
|
|
86
|
+
...operationOptionsToRequestParameters(options),
|
|
87
|
+
contentType: "application/json",
|
|
88
|
+
headers: {
|
|
89
|
+
...(options?.foundryFeatures !== undefined
|
|
90
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
91
|
+
: {}),
|
|
92
|
+
"idempotency-key": idempotencyKey,
|
|
93
|
+
accept: "application/json",
|
|
94
|
+
...options.requestOptions?.headers,
|
|
95
|
+
},
|
|
96
|
+
body: createTelephonyCallJobRequestSerializer(body),
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
export async function _createCallJobDeserialize(result) {
|
|
100
|
+
const expectedStatuses = ["202"];
|
|
101
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
102
|
+
const error = createRestError(result);
|
|
103
|
+
if (result.body) {
|
|
104
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
105
|
+
}
|
|
106
|
+
throw error;
|
|
107
|
+
}
|
|
108
|
+
return telephonyCallJobDeserializer(result.body);
|
|
109
|
+
}
|
|
110
|
+
/** Creates one durable direct outbound call job. The latest agent definition is resolved when each attempt executes. */
|
|
111
|
+
export async function createCallJob(context, agentName, idempotencyKey, body, options = { requestOptions: {} }) {
|
|
112
|
+
const result = await _createCallJobSend(context, agentName, idempotencyKey, body, options);
|
|
113
|
+
return _createCallJobDeserialize(result);
|
|
114
|
+
}
|
|
115
|
+
export function _replaceTransferTargetsSend(context, agentName, ifMatch, transferTargets, options = { requestOptions: {} }) {
|
|
116
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/transfer_targets{?api%2Dversion}", {
|
|
117
|
+
agent_name: agentName,
|
|
118
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
119
|
+
}, {
|
|
120
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
121
|
+
});
|
|
122
|
+
return context.path(path).put({
|
|
123
|
+
...operationOptionsToRequestParameters(options),
|
|
124
|
+
contentType: "application/json",
|
|
125
|
+
headers: {
|
|
126
|
+
...(options?.foundryFeatures !== undefined
|
|
127
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
128
|
+
: {}),
|
|
129
|
+
"if-match": ifMatch,
|
|
130
|
+
accept: "application/json",
|
|
131
|
+
...options.requestOptions?.headers,
|
|
132
|
+
},
|
|
133
|
+
body: { transfer_targets: telephonyTransferTargetArraySerializer(transferTargets) },
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
export async function _replaceTransferTargetsDeserialize(result) {
|
|
137
|
+
const expectedStatuses = ["200"];
|
|
138
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
139
|
+
const error = createRestError(result);
|
|
140
|
+
if (result.body) {
|
|
141
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
142
|
+
}
|
|
143
|
+
throw error;
|
|
144
|
+
}
|
|
145
|
+
return telephonyTransferTargetsDeserializer(result.body);
|
|
146
|
+
}
|
|
147
|
+
/** Replaces all transfer targets configured for the voice agent named in the path. */
|
|
148
|
+
export async function replaceTransferTargets(context, agentName, ifMatch, transferTargets, options = { requestOptions: {} }) {
|
|
149
|
+
const result = await _replaceTransferTargetsSend(context, agentName, ifMatch, transferTargets, options);
|
|
150
|
+
return _replaceTransferTargetsDeserialize(result);
|
|
151
|
+
}
|
|
152
|
+
export function _getTransferTargetsSend(context, agentName, options = { requestOptions: {} }) {
|
|
153
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/transfer_targets{?api%2Dversion}", {
|
|
154
|
+
agent_name: agentName,
|
|
155
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
156
|
+
}, {
|
|
157
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
158
|
+
});
|
|
159
|
+
return context.path(path).get({
|
|
160
|
+
...operationOptionsToRequestParameters(options),
|
|
161
|
+
headers: {
|
|
162
|
+
...(options?.foundryFeatures !== undefined
|
|
163
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
164
|
+
: {}),
|
|
165
|
+
accept: "application/json",
|
|
166
|
+
...options.requestOptions?.headers,
|
|
167
|
+
},
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
export async function _getTransferTargetsDeserialize(result) {
|
|
171
|
+
const expectedStatuses = ["200"];
|
|
172
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
173
|
+
const error = createRestError(result);
|
|
174
|
+
if (result.body) {
|
|
175
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
176
|
+
}
|
|
177
|
+
throw error;
|
|
178
|
+
}
|
|
179
|
+
return telephonyTransferTargetsDeserializer(result.body);
|
|
180
|
+
}
|
|
181
|
+
/** Returns all transfer targets configured for the voice agent named in the path. */
|
|
182
|
+
export async function getTransferTargets(context, agentName, options = { requestOptions: {} }) {
|
|
183
|
+
const result = await _getTransferTargetsSend(context, agentName, options);
|
|
184
|
+
return _getTransferTargetsDeserialize(result);
|
|
185
|
+
}
|
|
186
|
+
export function _endCallSend(context, agentName, callId, options = { requestOptions: {} }) {
|
|
187
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/calls/{call_id}:end{?api%2Dversion}", {
|
|
188
|
+
agent_name: agentName,
|
|
189
|
+
call_id: callId,
|
|
190
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
191
|
+
}, {
|
|
192
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
193
|
+
});
|
|
194
|
+
return context.path(path).post({
|
|
195
|
+
...operationOptionsToRequestParameters(options),
|
|
196
|
+
headers: {
|
|
197
|
+
...(options?.foundryFeatures !== undefined
|
|
198
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
199
|
+
: {}),
|
|
200
|
+
accept: "application/json",
|
|
201
|
+
...options.requestOptions?.headers,
|
|
202
|
+
},
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
export async function _endCallDeserialize(result) {
|
|
206
|
+
const expectedStatuses = ["200"];
|
|
207
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
208
|
+
const error = createRestError(result);
|
|
209
|
+
if (result.body) {
|
|
210
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
211
|
+
}
|
|
212
|
+
throw error;
|
|
213
|
+
}
|
|
214
|
+
return telephonyCallRecordDeserializer(result.body);
|
|
215
|
+
}
|
|
216
|
+
/** Ends an active inbound call owned by the voice agent named in the path. */
|
|
217
|
+
export async function endCall(context, agentName, callId, options = { requestOptions: {} }) {
|
|
218
|
+
const result = await _endCallSend(context, agentName, callId, options);
|
|
219
|
+
return _endCallDeserialize(result);
|
|
220
|
+
}
|
|
221
|
+
export function _transferCallSend(context, agentName, callId, target, options = { requestOptions: {} }) {
|
|
222
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/calls/{call_id}:transfer{?api%2Dversion}", {
|
|
223
|
+
agent_name: agentName,
|
|
224
|
+
call_id: callId,
|
|
225
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
226
|
+
}, {
|
|
227
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
228
|
+
});
|
|
229
|
+
return context.path(path).post({
|
|
230
|
+
...operationOptionsToRequestParameters(options),
|
|
231
|
+
contentType: "application/json",
|
|
232
|
+
headers: {
|
|
233
|
+
...(options?.foundryFeatures !== undefined
|
|
234
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
235
|
+
: {}),
|
|
236
|
+
accept: "application/json",
|
|
237
|
+
...options.requestOptions?.headers,
|
|
238
|
+
},
|
|
239
|
+
body: { target: target },
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
export async function _transferCallDeserialize(result) {
|
|
243
|
+
const expectedStatuses = ["200"];
|
|
244
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
245
|
+
const error = createRestError(result);
|
|
246
|
+
if (result.body) {
|
|
247
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
248
|
+
}
|
|
249
|
+
throw error;
|
|
250
|
+
}
|
|
251
|
+
return telephonyCallRecordDeserializer(result.body);
|
|
252
|
+
}
|
|
253
|
+
/** Transfers an active inbound call to a configured target for the voice agent named in the path. */
|
|
254
|
+
export async function transferCall(context, agentName, callId, target, options = { requestOptions: {} }) {
|
|
255
|
+
const result = await _transferCallSend(context, agentName, callId, target, options);
|
|
256
|
+
return _transferCallDeserialize(result);
|
|
257
|
+
}
|
|
258
|
+
export function _getCallSend(context, agentName, callId, options = { requestOptions: {} }) {
|
|
259
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/calls/{call_id}{?api%2Dversion}", {
|
|
260
|
+
agent_name: agentName,
|
|
261
|
+
call_id: callId,
|
|
262
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
263
|
+
}, {
|
|
264
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
265
|
+
});
|
|
266
|
+
return context.path(path).get({
|
|
267
|
+
...operationOptionsToRequestParameters(options),
|
|
268
|
+
headers: {
|
|
269
|
+
...(options?.foundryFeatures !== undefined
|
|
270
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
271
|
+
: {}),
|
|
272
|
+
accept: "application/json",
|
|
273
|
+
...options.requestOptions?.headers,
|
|
274
|
+
},
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
export async function _getCallDeserialize(result) {
|
|
278
|
+
const expectedStatuses = ["200"];
|
|
279
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
280
|
+
const error = createRestError(result);
|
|
281
|
+
if (result.body) {
|
|
282
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
283
|
+
}
|
|
284
|
+
throw error;
|
|
285
|
+
}
|
|
286
|
+
return telephonyCallRecordDeserializer(result.body);
|
|
287
|
+
}
|
|
288
|
+
/** Retrieves a durable inbound call record owned by the voice agent named in the path. */
|
|
289
|
+
export async function getCall(context, agentName, callId, options = { requestOptions: {} }) {
|
|
290
|
+
const result = await _getCallSend(context, agentName, callId, options);
|
|
291
|
+
return _getCallDeserialize(result);
|
|
292
|
+
}
|
|
293
|
+
export function _listCallsSend(context, agentName, options = { requestOptions: {} }) {
|
|
294
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/calls{?provider,status,started_after,started_before,limit,order,after,before,api%2Dversion}", {
|
|
295
|
+
agent_name: agentName,
|
|
296
|
+
provider: options?.provider,
|
|
297
|
+
status: options?.status,
|
|
298
|
+
started_after: !options?.startedAfterTime
|
|
299
|
+
? options?.startedAfterTime
|
|
300
|
+
: options?.startedAfterTime.getTime() / 1000,
|
|
301
|
+
started_before: !options?.startedBeforeTime
|
|
302
|
+
? options?.startedBeforeTime
|
|
303
|
+
: options?.startedBeforeTime.getTime() / 1000,
|
|
304
|
+
limit: options?.limit,
|
|
305
|
+
order: options?.order,
|
|
306
|
+
after: options?.after,
|
|
307
|
+
before: options?.before,
|
|
308
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
309
|
+
}, {
|
|
310
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
311
|
+
});
|
|
312
|
+
return context.path(path).get({
|
|
313
|
+
...operationOptionsToRequestParameters(options),
|
|
314
|
+
headers: {
|
|
315
|
+
...(options?.foundryFeatures !== undefined
|
|
316
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
317
|
+
: {}),
|
|
318
|
+
accept: "application/json",
|
|
319
|
+
...options.requestOptions?.headers,
|
|
320
|
+
},
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
export async function _listCallsDeserialize(result) {
|
|
324
|
+
const expectedStatuses = ["200"];
|
|
325
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
326
|
+
const error = createRestError(result);
|
|
327
|
+
if (result.body) {
|
|
328
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
329
|
+
}
|
|
330
|
+
throw error;
|
|
331
|
+
}
|
|
332
|
+
return _agentsPagedResultTelephonyCallSummaryDeserializer(result.body);
|
|
333
|
+
}
|
|
334
|
+
/** Returns the durable inbound call history for the voice agent named in the path. */
|
|
335
|
+
export function listCalls(context, agentName, options = { requestOptions: {} }) {
|
|
336
|
+
return buildPagedAsyncIterator(context, () => _listCallsSend(context, agentName, options), _listCallsDeserialize, ["200"], {
|
|
337
|
+
itemName: "data",
|
|
338
|
+
apiVersion: context.apiVersion ?? "v1",
|
|
339
|
+
cursorFieldName: "last_id",
|
|
340
|
+
hasMoreFieldName: "has_more",
|
|
341
|
+
nextPageRequestOptions: {
|
|
342
|
+
...operationOptionsToRequestParameters(options),
|
|
343
|
+
headers: {
|
|
344
|
+
...(options.foundryFeatures !== undefined
|
|
345
|
+
? { "foundry-features": options.foundryFeatures }
|
|
346
|
+
: {}),
|
|
347
|
+
...options.requestOptions?.headers,
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
export function _deleteBindingSend(context, agentName, bindingId, ifMatch, options = { requestOptions: {} }) {
|
|
353
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/bindings/{binding_id}{?api%2Dversion}", {
|
|
354
|
+
agent_name: agentName,
|
|
355
|
+
binding_id: bindingId,
|
|
356
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
357
|
+
}, {
|
|
358
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
359
|
+
});
|
|
360
|
+
return context.path(path).delete({
|
|
361
|
+
...operationOptionsToRequestParameters(options),
|
|
362
|
+
headers: {
|
|
363
|
+
...(options?.foundryFeatures !== undefined
|
|
364
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
365
|
+
: {}),
|
|
366
|
+
"if-match": ifMatch,
|
|
367
|
+
...options.requestOptions?.headers,
|
|
368
|
+
},
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
export async function _deleteBindingDeserialize(result) {
|
|
372
|
+
const expectedStatuses = ["204"];
|
|
373
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
374
|
+
const error = createRestError(result);
|
|
375
|
+
if (result.body) {
|
|
376
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
377
|
+
}
|
|
378
|
+
throw error;
|
|
379
|
+
}
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
/** Deletes a telephony binding owned by the voice agent named in the path. */
|
|
383
|
+
export async function deleteBinding(context, agentName, bindingId, ifMatch, options = { requestOptions: {} }) {
|
|
384
|
+
const result = await _deleteBindingSend(context, agentName, bindingId, ifMatch, options);
|
|
385
|
+
return _deleteBindingDeserialize(result);
|
|
386
|
+
}
|
|
387
|
+
export function _updateBindingSend(context, agentName, bindingId, ifMatch, body, options = { requestOptions: {} }) {
|
|
388
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/bindings/{binding_id}{?api%2Dversion}", {
|
|
389
|
+
agent_name: agentName,
|
|
390
|
+
binding_id: bindingId,
|
|
391
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
392
|
+
}, {
|
|
393
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
394
|
+
});
|
|
395
|
+
return context.path(path).patch({
|
|
396
|
+
...operationOptionsToRequestParameters(options),
|
|
397
|
+
contentType: "application/merge-patch+json",
|
|
398
|
+
headers: {
|
|
399
|
+
...(options?.foundryFeatures !== undefined
|
|
400
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
401
|
+
: {}),
|
|
402
|
+
"if-match": ifMatch,
|
|
403
|
+
accept: "application/json",
|
|
404
|
+
...options.requestOptions?.headers,
|
|
405
|
+
},
|
|
406
|
+
body: updateTelephonyBindingRequestSerializer(body),
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
export async function _updateBindingDeserialize(result) {
|
|
410
|
+
const expectedStatuses = ["200"];
|
|
411
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
412
|
+
const error = createRestError(result);
|
|
413
|
+
if (result.body) {
|
|
414
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
415
|
+
}
|
|
416
|
+
throw error;
|
|
417
|
+
}
|
|
418
|
+
return telephonyBindingUnionDeserializer(result.body);
|
|
419
|
+
}
|
|
420
|
+
/** Updates a telephony binding owned by the voice agent named in the path. */
|
|
421
|
+
export async function updateBinding(context, agentName, bindingId, ifMatch, body, options = { requestOptions: {} }) {
|
|
422
|
+
const result = await _updateBindingSend(context, agentName, bindingId, ifMatch, body, options);
|
|
423
|
+
return _updateBindingDeserialize(result);
|
|
424
|
+
}
|
|
425
|
+
export function _getBindingSend(context, agentName, bindingId, options = { requestOptions: {} }) {
|
|
426
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/bindings/{binding_id}{?api%2Dversion}", {
|
|
427
|
+
agent_name: agentName,
|
|
428
|
+
binding_id: bindingId,
|
|
429
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
430
|
+
}, {
|
|
431
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
432
|
+
});
|
|
433
|
+
return context.path(path).get({
|
|
434
|
+
...operationOptionsToRequestParameters(options),
|
|
435
|
+
headers: {
|
|
436
|
+
...(options?.foundryFeatures !== undefined
|
|
437
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
438
|
+
: {}),
|
|
439
|
+
accept: "application/json",
|
|
440
|
+
...options.requestOptions?.headers,
|
|
441
|
+
},
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
export async function _getBindingDeserialize(result) {
|
|
445
|
+
const expectedStatuses = ["200"];
|
|
446
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
447
|
+
const error = createRestError(result);
|
|
448
|
+
if (result.body) {
|
|
449
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
450
|
+
}
|
|
451
|
+
throw error;
|
|
452
|
+
}
|
|
453
|
+
return telephonyBindingUnionDeserializer(result.body);
|
|
454
|
+
}
|
|
455
|
+
/** Retrieves a telephony binding owned by the voice agent named in the path. */
|
|
456
|
+
export async function getBinding(context, agentName, bindingId, options = { requestOptions: {} }) {
|
|
457
|
+
const result = await _getBindingSend(context, agentName, bindingId, options);
|
|
458
|
+
return _getBindingDeserialize(result);
|
|
459
|
+
}
|
|
460
|
+
export function _listBindingsSend(context, agentName, options = { requestOptions: {} }) {
|
|
461
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/bindings{?provider,status,limit,order,after,before,api%2Dversion}", {
|
|
462
|
+
agent_name: agentName,
|
|
463
|
+
provider: options?.provider,
|
|
464
|
+
status: options?.status,
|
|
465
|
+
limit: options?.limit,
|
|
466
|
+
order: options?.order,
|
|
467
|
+
after: options?.after,
|
|
468
|
+
before: options?.before,
|
|
469
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
470
|
+
}, {
|
|
471
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
472
|
+
});
|
|
473
|
+
return context.path(path).get({
|
|
474
|
+
...operationOptionsToRequestParameters(options),
|
|
475
|
+
headers: {
|
|
476
|
+
...(options?.foundryFeatures !== undefined
|
|
477
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
478
|
+
: {}),
|
|
479
|
+
accept: "application/json",
|
|
480
|
+
...options.requestOptions?.headers,
|
|
481
|
+
},
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
export async function _listBindingsDeserialize(result) {
|
|
485
|
+
const expectedStatuses = ["200"];
|
|
486
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
487
|
+
const error = createRestError(result);
|
|
488
|
+
if (result.body) {
|
|
489
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
490
|
+
}
|
|
491
|
+
throw error;
|
|
492
|
+
}
|
|
493
|
+
return _agentsPagedResultTelephonyBindingListItemDeserializer(result.body);
|
|
494
|
+
}
|
|
495
|
+
/** Returns the telephony bindings owned by the voice agent named in the path. */
|
|
496
|
+
export function listBindings(context, agentName, options = { requestOptions: {} }) {
|
|
497
|
+
return buildPagedAsyncIterator(context, () => _listBindingsSend(context, agentName, options), _listBindingsDeserialize, ["200"], {
|
|
498
|
+
itemName: "data",
|
|
499
|
+
apiVersion: context.apiVersion ?? "v1",
|
|
500
|
+
cursorFieldName: "last_id",
|
|
501
|
+
hasMoreFieldName: "has_more",
|
|
502
|
+
nextPageRequestOptions: {
|
|
503
|
+
...operationOptionsToRequestParameters(options),
|
|
504
|
+
headers: {
|
|
505
|
+
...(options.foundryFeatures !== undefined
|
|
506
|
+
? { "foundry-features": options.foundryFeatures }
|
|
507
|
+
: {}),
|
|
508
|
+
...options.requestOptions?.headers,
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
export function _createBindingSend(context, agentName, telephonyBinding, options = { requestOptions: {} }) {
|
|
514
|
+
const path = expandUrlTemplate("/agents/{agent_name}/telephony/bindings{?api%2Dversion}", {
|
|
515
|
+
agent_name: agentName,
|
|
516
|
+
"api%2Dversion": context.apiVersion ?? "v1",
|
|
517
|
+
}, {
|
|
518
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
519
|
+
});
|
|
520
|
+
return context.path(path).post({
|
|
521
|
+
...operationOptionsToRequestParameters(options),
|
|
522
|
+
contentType: "application/json",
|
|
523
|
+
headers: {
|
|
524
|
+
...(options?.foundryFeatures !== undefined
|
|
525
|
+
? { "foundry-features": options?.foundryFeatures }
|
|
526
|
+
: {}),
|
|
527
|
+
...(options?.repeatabilityRequestId !== undefined
|
|
528
|
+
? { "repeatability-request-id": options?.repeatabilityRequestId }
|
|
529
|
+
: {}),
|
|
530
|
+
...(options?.repeatabilityFirstSent !== undefined
|
|
531
|
+
? {
|
|
532
|
+
"repeatability-first-sent": !options?.repeatabilityFirstSent
|
|
533
|
+
? options?.repeatabilityFirstSent
|
|
534
|
+
: options?.repeatabilityFirstSent.toUTCString(),
|
|
535
|
+
}
|
|
536
|
+
: {}),
|
|
537
|
+
accept: "application/json",
|
|
538
|
+
...options.requestOptions?.headers,
|
|
539
|
+
},
|
|
540
|
+
body: createTelephonyBindingRequestUnionSerializer(telephonyBinding),
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
export async function _createBindingDeserialize(result) {
|
|
544
|
+
const expectedStatuses = ["201"];
|
|
545
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
546
|
+
const error = createRestError(result);
|
|
547
|
+
if (result.body) {
|
|
548
|
+
error.details = apiErrorResponseDeserializer(result.body);
|
|
549
|
+
}
|
|
550
|
+
throw error;
|
|
551
|
+
}
|
|
552
|
+
return telephonyBindingUnionDeserializer(result.body);
|
|
553
|
+
}
|
|
554
|
+
/** Creates a telephony binding for the voice agent named in the path. */
|
|
555
|
+
export async function createBinding(context, agentName, telephonyBinding, options = { requestOptions: {} }) {
|
|
556
|
+
const result = await _createBindingSend(context, agentName, telephonyBinding, options);
|
|
557
|
+
return _createBindingDeserialize(result);
|
|
558
|
+
}
|
|
559
|
+
//# sourceMappingURL=operations.js.map
|