// To parse this data:
//
//   import { Convert, AgentErrorResponseMessage, AgentRequestMessage, AgentResponseMessage, BridgeErrorResponseMessage, BridgeRequestMessage, BridgeResponseMessage, BroadcastAgentRequest, BroadcastBridgeRequest, ConnectionStepMessage, ConnectionStep2Hello, ConnectionStep3Handshake, ConnectionStep4AuthenticationFailed, ConnectionStep6ConnectedAgentsUpdate, FindInstancesAgentErrorResponse, FindInstancesAgentRequest, FindInstancesAgentResponse, FindInstancesBridgeErrorResponse, FindInstancesBridgeRequest, FindInstancesBridgeResponse, FindIntentAgentErrorResponse, FindIntentAgentRequest, FindIntentAgentResponse, FindIntentBridgeErrorResponse, FindIntentBridgeRequest, FindIntentBridgeResponse, FindIntentsByContextAgentErrorResponse, FindIntentsByContextAgentRequest, FindIntentsByContextAgentResponse, FindIntentsByContextBridgeErrorResponse, FindIntentsByContextBridgeRequest, FindIntentsByContextBridgeResponse, GetAppMetadataAgentErrorResponse, GetAppMetadataAgentRequest, GetAppMetadataAgentResponse, GetAppMetadataBridgeErrorResponse, GetAppMetadataBridgeRequest, GetAppMetadataBridgeResponse, OpenAgentErrorResponse, OpenAgentRequest, OpenAgentResponse, OpenBridgeErrorResponse, OpenBridgeRequest, OpenBridgeResponse, PrivateChannelBroadcastAgentRequest, PrivateChannelBroadcastBridgeRequest, PrivateChannelEventListenerAddedAgentRequest, PrivateChannelEventListenerAddedBridgeRequest, PrivateChannelEventListenerRemovedAgentRequest, PrivateChannelEventListenerRemovedBridgeRequest, PrivateChannelOnAddContextListenerAgentRequest, PrivateChannelOnAddContextListenerBridgeRequest, PrivateChannelOnDisconnectAgentRequest, PrivateChannelOnDisconnectBridgeRequest, PrivateChannelOnUnsubscribeAgentRequest, PrivateChannelOnUnsubscribeBridgeRequest, RaiseIntentAgentErrorResponse, RaiseIntentAgentRequest, RaiseIntentAgentResponse, RaiseIntentBridgeErrorResponse, RaiseIntentBridgeRequest, RaiseIntentBridgeResponse, RaiseIntentResultAgentErrorResponse, RaiseIntentResultAgentResponse, RaiseIntentResultBridgeErrorResponse, RaiseIntentResultBridgeResponse, Context } from "./file";
//
//   const fDC3DesktopAgentAPISchema = Convert.toFDC3DesktopAgentAPISchema(json);
//   const agentErrorResponseMessage = Convert.toAgentErrorResponseMessage(json);
//   const agentRequestMessage = Convert.toAgentRequestMessage(json);
//   const agentResponseMessage = Convert.toAgentResponseMessage(json);
//   const bridgeErrorResponseMessage = Convert.toBridgeErrorResponseMessage(json);
//   const bridgeRequestMessage = Convert.toBridgeRequestMessage(json);
//   const bridgeResponseMessage = Convert.toBridgeResponseMessage(json);
//   const broadcastAgentRequest = Convert.toBroadcastAgentRequest(json);
//   const broadcastBridgeRequest = Convert.toBroadcastBridgeRequest(json);
//   const bridgingCommons = Convert.toBridgingCommons(json);
//   const connectionStepMessage = Convert.toConnectionStepMessage(json);
//   const connectionStep2Hello = Convert.toConnectionStep2Hello(json);
//   const connectionStep3Handshake = Convert.toConnectionStep3Handshake(json);
//   const connectionStep4AuthenticationFailed = Convert.toConnectionStep4AuthenticationFailed(json);
//   const connectionStep6ConnectedAgentsUpdate = Convert.toConnectionStep6ConnectedAgentsUpdate(json);
//   const findInstancesAgentErrorResponse = Convert.toFindInstancesAgentErrorResponse(json);
//   const findInstancesAgentRequest = Convert.toFindInstancesAgentRequest(json);
//   const findInstancesAgentResponse = Convert.toFindInstancesAgentResponse(json);
//   const findInstancesBridgeErrorResponse = Convert.toFindInstancesBridgeErrorResponse(json);
//   const findInstancesBridgeRequest = Convert.toFindInstancesBridgeRequest(json);
//   const findInstancesBridgeResponse = Convert.toFindInstancesBridgeResponse(json);
//   const findIntentAgentErrorResponse = Convert.toFindIntentAgentErrorResponse(json);
//   const findIntentAgentRequest = Convert.toFindIntentAgentRequest(json);
//   const findIntentAgentResponse = Convert.toFindIntentAgentResponse(json);
//   const findIntentBridgeErrorResponse = Convert.toFindIntentBridgeErrorResponse(json);
//   const findIntentBridgeRequest = Convert.toFindIntentBridgeRequest(json);
//   const findIntentBridgeResponse = Convert.toFindIntentBridgeResponse(json);
//   const findIntentsByContextAgentErrorResponse = Convert.toFindIntentsByContextAgentErrorResponse(json);
//   const findIntentsByContextAgentRequest = Convert.toFindIntentsByContextAgentRequest(json);
//   const findIntentsByContextAgentResponse = Convert.toFindIntentsByContextAgentResponse(json);
//   const findIntentsByContextBridgeErrorResponse = Convert.toFindIntentsByContextBridgeErrorResponse(json);
//   const findIntentsByContextBridgeRequest = Convert.toFindIntentsByContextBridgeRequest(json);
//   const findIntentsByContextBridgeResponse = Convert.toFindIntentsByContextBridgeResponse(json);
//   const getAppMetadataAgentErrorResponse = Convert.toGetAppMetadataAgentErrorResponse(json);
//   const getAppMetadataAgentRequest = Convert.toGetAppMetadataAgentRequest(json);
//   const getAppMetadataAgentResponse = Convert.toGetAppMetadataAgentResponse(json);
//   const getAppMetadataBridgeErrorResponse = Convert.toGetAppMetadataBridgeErrorResponse(json);
//   const getAppMetadataBridgeRequest = Convert.toGetAppMetadataBridgeRequest(json);
//   const getAppMetadataBridgeResponse = Convert.toGetAppMetadataBridgeResponse(json);
//   const openAgentErrorResponse = Convert.toOpenAgentErrorResponse(json);
//   const openAgentRequest = Convert.toOpenAgentRequest(json);
//   const openAgentResponse = Convert.toOpenAgentResponse(json);
//   const openBridgeErrorResponse = Convert.toOpenBridgeErrorResponse(json);
//   const openBridgeRequest = Convert.toOpenBridgeRequest(json);
//   const openBridgeResponse = Convert.toOpenBridgeResponse(json);
//   const privateChannelBroadcastAgentRequest = Convert.toPrivateChannelBroadcastAgentRequest(json);
//   const privateChannelBroadcastBridgeRequest = Convert.toPrivateChannelBroadcastBridgeRequest(json);
//   const privateChannelEventListenerAddedAgentRequest = Convert.toPrivateChannelEventListenerAddedAgentRequest(json);
//   const privateChannelEventListenerAddedBridgeRequest = Convert.toPrivateChannelEventListenerAddedBridgeRequest(json);
//   const privateChannelEventListenerRemovedAgentRequest = Convert.toPrivateChannelEventListenerRemovedAgentRequest(json);
//   const privateChannelEventListenerRemovedBridgeRequest = Convert.toPrivateChannelEventListenerRemovedBridgeRequest(json);
//   const privateChannelOnAddContextListenerAgentRequest = Convert.toPrivateChannelOnAddContextListenerAgentRequest(json);
//   const privateChannelOnAddContextListenerBridgeRequest = Convert.toPrivateChannelOnAddContextListenerBridgeRequest(json);
//   const privateChannelOnDisconnectAgentRequest = Convert.toPrivateChannelOnDisconnectAgentRequest(json);
//   const privateChannelOnDisconnectBridgeRequest = Convert.toPrivateChannelOnDisconnectBridgeRequest(json);
//   const privateChannelOnUnsubscribeAgentRequest = Convert.toPrivateChannelOnUnsubscribeAgentRequest(json);
//   const privateChannelOnUnsubscribeBridgeRequest = Convert.toPrivateChannelOnUnsubscribeBridgeRequest(json);
//   const raiseIntentAgentErrorResponse = Convert.toRaiseIntentAgentErrorResponse(json);
//   const raiseIntentAgentRequest = Convert.toRaiseIntentAgentRequest(json);
//   const raiseIntentAgentResponse = Convert.toRaiseIntentAgentResponse(json);
//   const raiseIntentBridgeErrorResponse = Convert.toRaiseIntentBridgeErrorResponse(json);
//   const raiseIntentBridgeRequest = Convert.toRaiseIntentBridgeRequest(json);
//   const raiseIntentBridgeResponse = Convert.toRaiseIntentBridgeResponse(json);
//   const raiseIntentResultAgentErrorResponse = Convert.toRaiseIntentResultAgentErrorResponse(json);
//   const raiseIntentResultAgentResponse = Convert.toRaiseIntentResultAgentResponse(json);
//   const raiseIntentResultBridgeErrorResponse = Convert.toRaiseIntentResultBridgeErrorResponse(json);
//   const raiseIntentResultBridgeResponse = Convert.toRaiseIntentResultBridgeResponse(json);
//   const context = Convert.toContext(json);
//
// These functions will throw an error if the JSON doesn't
// match the expected interface, even if the JSON is valid.
// Converts JSON strings to/from your types
// and asserts the results of JSON.parse at runtime
export class Convert {
    static toFDC3DesktopAgentAPISchema(json) {
        return cast(JSON.parse(json), "any");
    }
    static fDC3DesktopAgentAPISchemaToJson(value) {
        return JSON.stringify(uncast(value, "any"), null, 2);
    }
    static toAgentErrorResponseMessage(json) {
        return cast(JSON.parse(json), r("AgentErrorResponseMessage"));
    }
    static agentErrorResponseMessageToJson(value) {
        return JSON.stringify(uncast(value, r("AgentErrorResponseMessage")), null, 2);
    }
    static toAgentRequestMessage(json) {
        return cast(JSON.parse(json), r("AgentRequestMessage"));
    }
    static agentRequestMessageToJson(value) {
        return JSON.stringify(uncast(value, r("AgentRequestMessage")), null, 2);
    }
    static toAgentResponseMessage(json) {
        return cast(JSON.parse(json), r("AgentResponseMessage"));
    }
    static agentResponseMessageToJson(value) {
        return JSON.stringify(uncast(value, r("AgentResponseMessage")), null, 2);
    }
    static toBridgeErrorResponseMessage(json) {
        return cast(JSON.parse(json), r("BridgeErrorResponseMessage"));
    }
    static bridgeErrorResponseMessageToJson(value) {
        return JSON.stringify(uncast(value, r("BridgeErrorResponseMessage")), null, 2);
    }
    static toBridgeRequestMessage(json) {
        return cast(JSON.parse(json), r("BridgeRequestMessage"));
    }
    static bridgeRequestMessageToJson(value) {
        return JSON.stringify(uncast(value, r("BridgeRequestMessage")), null, 2);
    }
    static toBridgeResponseMessage(json) {
        return cast(JSON.parse(json), r("BridgeResponseMessage"));
    }
    static bridgeResponseMessageToJson(value) {
        return JSON.stringify(uncast(value, r("BridgeResponseMessage")), null, 2);
    }
    static toBroadcastAgentRequest(json) {
        return cast(JSON.parse(json), r("BroadcastAgentRequest"));
    }
    static broadcastAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("BroadcastAgentRequest")), null, 2);
    }
    static toBroadcastBridgeRequest(json) {
        return cast(JSON.parse(json), r("BroadcastBridgeRequest"));
    }
    static broadcastBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("BroadcastBridgeRequest")), null, 2);
    }
    static toBridgingCommons(json) {
        return cast(JSON.parse(json), m("any"));
    }
    static bridgingCommonsToJson(value) {
        return JSON.stringify(uncast(value, m("any")), null, 2);
    }
    static toConnectionStepMessage(json) {
        return cast(JSON.parse(json), r("ConnectionStepMessage"));
    }
    static connectionStepMessageToJson(value) {
        return JSON.stringify(uncast(value, r("ConnectionStepMessage")), null, 2);
    }
    static toConnectionStep2Hello(json) {
        return cast(JSON.parse(json), r("ConnectionStep2Hello"));
    }
    static connectionStep2HelloToJson(value) {
        return JSON.stringify(uncast(value, r("ConnectionStep2Hello")), null, 2);
    }
    static toConnectionStep3Handshake(json) {
        return cast(JSON.parse(json), r("ConnectionStep3Handshake"));
    }
    static connectionStep3HandshakeToJson(value) {
        return JSON.stringify(uncast(value, r("ConnectionStep3Handshake")), null, 2);
    }
    static toConnectionStep4AuthenticationFailed(json) {
        return cast(JSON.parse(json), r("ConnectionStep4AuthenticationFailed"));
    }
    static connectionStep4AuthenticationFailedToJson(value) {
        return JSON.stringify(uncast(value, r("ConnectionStep4AuthenticationFailed")), null, 2);
    }
    static toConnectionStep6ConnectedAgentsUpdate(json) {
        return cast(JSON.parse(json), r("ConnectionStep6ConnectedAgentsUpdate"));
    }
    static connectionStep6ConnectedAgentsUpdateToJson(value) {
        return JSON.stringify(uncast(value, r("ConnectionStep6ConnectedAgentsUpdate")), null, 2);
    }
    static toFindInstancesAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("FindInstancesAgentErrorResponse"));
    }
    static findInstancesAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindInstancesAgentErrorResponse")), null, 2);
    }
    static toFindInstancesAgentRequest(json) {
        return cast(JSON.parse(json), r("FindInstancesAgentRequest"));
    }
    static findInstancesAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("FindInstancesAgentRequest")), null, 2);
    }
    static toFindInstancesAgentResponse(json) {
        return cast(JSON.parse(json), r("FindInstancesAgentResponse"));
    }
    static findInstancesAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindInstancesAgentResponse")), null, 2);
    }
    static toFindInstancesBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("FindInstancesBridgeErrorResponse"));
    }
    static findInstancesBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindInstancesBridgeErrorResponse")), null, 2);
    }
    static toFindInstancesBridgeRequest(json) {
        return cast(JSON.parse(json), r("FindInstancesBridgeRequest"));
    }
    static findInstancesBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("FindInstancesBridgeRequest")), null, 2);
    }
    static toFindInstancesBridgeResponse(json) {
        return cast(JSON.parse(json), r("FindInstancesBridgeResponse"));
    }
    static findInstancesBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindInstancesBridgeResponse")), null, 2);
    }
    static toFindIntentAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("FindIntentAgentErrorResponse"));
    }
    static findIntentAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentAgentErrorResponse")), null, 2);
    }
    static toFindIntentAgentRequest(json) {
        return cast(JSON.parse(json), r("FindIntentAgentRequest"));
    }
    static findIntentAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentAgentRequest")), null, 2);
    }
    static toFindIntentAgentResponse(json) {
        return cast(JSON.parse(json), r("FindIntentAgentResponse"));
    }
    static findIntentAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentAgentResponse")), null, 2);
    }
    static toFindIntentBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("FindIntentBridgeErrorResponse"));
    }
    static findIntentBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentBridgeErrorResponse")), null, 2);
    }
    static toFindIntentBridgeRequest(json) {
        return cast(JSON.parse(json), r("FindIntentBridgeRequest"));
    }
    static findIntentBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentBridgeRequest")), null, 2);
    }
    static toFindIntentBridgeResponse(json) {
        return cast(JSON.parse(json), r("FindIntentBridgeResponse"));
    }
    static findIntentBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentBridgeResponse")), null, 2);
    }
    static toFindIntentsByContextAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("FindIntentsByContextAgentErrorResponse"));
    }
    static findIntentsByContextAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentsByContextAgentErrorResponse")), null, 2);
    }
    static toFindIntentsByContextAgentRequest(json) {
        return cast(JSON.parse(json), r("FindIntentsByContextAgentRequest"));
    }
    static findIntentsByContextAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentsByContextAgentRequest")), null, 2);
    }
    static toFindIntentsByContextAgentResponse(json) {
        return cast(JSON.parse(json), r("FindIntentsByContextAgentResponse"));
    }
    static findIntentsByContextAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentsByContextAgentResponse")), null, 2);
    }
    static toFindIntentsByContextBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("FindIntentsByContextBridgeErrorResponse"));
    }
    static findIntentsByContextBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentsByContextBridgeErrorResponse")), null, 2);
    }
    static toFindIntentsByContextBridgeRequest(json) {
        return cast(JSON.parse(json), r("FindIntentsByContextBridgeRequest"));
    }
    static findIntentsByContextBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentsByContextBridgeRequest")), null, 2);
    }
    static toFindIntentsByContextBridgeResponse(json) {
        return cast(JSON.parse(json), r("FindIntentsByContextBridgeResponse"));
    }
    static findIntentsByContextBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("FindIntentsByContextBridgeResponse")), null, 2);
    }
    static toGetAppMetadataAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("GetAppMetadataAgentErrorResponse"));
    }
    static getAppMetadataAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("GetAppMetadataAgentErrorResponse")), null, 2);
    }
    static toGetAppMetadataAgentRequest(json) {
        return cast(JSON.parse(json), r("GetAppMetadataAgentRequest"));
    }
    static getAppMetadataAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("GetAppMetadataAgentRequest")), null, 2);
    }
    static toGetAppMetadataAgentResponse(json) {
        return cast(JSON.parse(json), r("GetAppMetadataAgentResponse"));
    }
    static getAppMetadataAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("GetAppMetadataAgentResponse")), null, 2);
    }
    static toGetAppMetadataBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("GetAppMetadataBridgeErrorResponse"));
    }
    static getAppMetadataBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("GetAppMetadataBridgeErrorResponse")), null, 2);
    }
    static toGetAppMetadataBridgeRequest(json) {
        return cast(JSON.parse(json), r("GetAppMetadataBridgeRequest"));
    }
    static getAppMetadataBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("GetAppMetadataBridgeRequest")), null, 2);
    }
    static toGetAppMetadataBridgeResponse(json) {
        return cast(JSON.parse(json), r("GetAppMetadataBridgeResponse"));
    }
    static getAppMetadataBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("GetAppMetadataBridgeResponse")), null, 2);
    }
    static toOpenAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("OpenAgentErrorResponse"));
    }
    static openAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("OpenAgentErrorResponse")), null, 2);
    }
    static toOpenAgentRequest(json) {
        return cast(JSON.parse(json), r("OpenAgentRequest"));
    }
    static openAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("OpenAgentRequest")), null, 2);
    }
    static toOpenAgentResponse(json) {
        return cast(JSON.parse(json), r("OpenAgentResponse"));
    }
    static openAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("OpenAgentResponse")), null, 2);
    }
    static toOpenBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("OpenBridgeErrorResponse"));
    }
    static openBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("OpenBridgeErrorResponse")), null, 2);
    }
    static toOpenBridgeRequest(json) {
        return cast(JSON.parse(json), r("OpenBridgeRequest"));
    }
    static openBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("OpenBridgeRequest")), null, 2);
    }
    static toOpenBridgeResponse(json) {
        return cast(JSON.parse(json), r("OpenBridgeResponse"));
    }
    static openBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("OpenBridgeResponse")), null, 2);
    }
    static toPrivateChannelBroadcastAgentRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelBroadcastAgentRequest"));
    }
    static privateChannelBroadcastAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelBroadcastAgentRequest")), null, 2);
    }
    static toPrivateChannelBroadcastBridgeRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelBroadcastBridgeRequest"));
    }
    static privateChannelBroadcastBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelBroadcastBridgeRequest")), null, 2);
    }
    static toPrivateChannelEventListenerAddedAgentRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelEventListenerAddedAgentRequest"));
    }
    static privateChannelEventListenerAddedAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelEventListenerAddedAgentRequest")), null, 2);
    }
    static toPrivateChannelEventListenerAddedBridgeRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelEventListenerAddedBridgeRequest"));
    }
    static privateChannelEventListenerAddedBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelEventListenerAddedBridgeRequest")), null, 2);
    }
    static toPrivateChannelEventListenerRemovedAgentRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelEventListenerRemovedAgentRequest"));
    }
    static privateChannelEventListenerRemovedAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelEventListenerRemovedAgentRequest")), null, 2);
    }
    static toPrivateChannelEventListenerRemovedBridgeRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelEventListenerRemovedBridgeRequest"));
    }
    static privateChannelEventListenerRemovedBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelEventListenerRemovedBridgeRequest")), null, 2);
    }
    static toPrivateChannelOnAddContextListenerAgentRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelOnAddContextListenerAgentRequest"));
    }
    static privateChannelOnAddContextListenerAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelOnAddContextListenerAgentRequest")), null, 2);
    }
    static toPrivateChannelOnAddContextListenerBridgeRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelOnAddContextListenerBridgeRequest"));
    }
    static privateChannelOnAddContextListenerBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelOnAddContextListenerBridgeRequest")), null, 2);
    }
    static toPrivateChannelOnDisconnectAgentRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelOnDisconnectAgentRequest"));
    }
    static privateChannelOnDisconnectAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelOnDisconnectAgentRequest")), null, 2);
    }
    static toPrivateChannelOnDisconnectBridgeRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelOnDisconnectBridgeRequest"));
    }
    static privateChannelOnDisconnectBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelOnDisconnectBridgeRequest")), null, 2);
    }
    static toPrivateChannelOnUnsubscribeAgentRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelOnUnsubscribeAgentRequest"));
    }
    static privateChannelOnUnsubscribeAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelOnUnsubscribeAgentRequest")), null, 2);
    }
    static toPrivateChannelOnUnsubscribeBridgeRequest(json) {
        return cast(JSON.parse(json), r("PrivateChannelOnUnsubscribeBridgeRequest"));
    }
    static privateChannelOnUnsubscribeBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("PrivateChannelOnUnsubscribeBridgeRequest")), null, 2);
    }
    static toRaiseIntentAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentAgentErrorResponse"));
    }
    static raiseIntentAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentAgentErrorResponse")), null, 2);
    }
    static toRaiseIntentAgentRequest(json) {
        return cast(JSON.parse(json), r("RaiseIntentAgentRequest"));
    }
    static raiseIntentAgentRequestToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentAgentRequest")), null, 2);
    }
    static toRaiseIntentAgentResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentAgentResponse"));
    }
    static raiseIntentAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentAgentResponse")), null, 2);
    }
    static toRaiseIntentBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentBridgeErrorResponse"));
    }
    static raiseIntentBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentBridgeErrorResponse")), null, 2);
    }
    static toRaiseIntentBridgeRequest(json) {
        return cast(JSON.parse(json), r("RaiseIntentBridgeRequest"));
    }
    static raiseIntentBridgeRequestToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentBridgeRequest")), null, 2);
    }
    static toRaiseIntentBridgeResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentBridgeResponse"));
    }
    static raiseIntentBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentBridgeResponse")), null, 2);
    }
    static toRaiseIntentResultAgentErrorResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentResultAgentErrorResponse"));
    }
    static raiseIntentResultAgentErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentResultAgentErrorResponse")), null, 2);
    }
    static toRaiseIntentResultAgentResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentResultAgentResponse"));
    }
    static raiseIntentResultAgentResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentResultAgentResponse")), null, 2);
    }
    static toRaiseIntentResultBridgeErrorResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentResultBridgeErrorResponse"));
    }
    static raiseIntentResultBridgeErrorResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentResultBridgeErrorResponse")), null, 2);
    }
    static toRaiseIntentResultBridgeResponse(json) {
        return cast(JSON.parse(json), r("RaiseIntentResultBridgeResponse"));
    }
    static raiseIntentResultBridgeResponseToJson(value) {
        return JSON.stringify(uncast(value, r("RaiseIntentResultBridgeResponse")), null, 2);
    }
    static toContext(json) {
        return cast(JSON.parse(json), r("Context"));
    }
    static contextToJson(value) {
        return JSON.stringify(uncast(value, r("Context")), null, 2);
    }
}
function invalidValue(typ, val, key, parent = '') {
    const prettyTyp = prettyTypeName(typ);
    const parentText = parent ? ` on ${parent}` : '';
    const keyText = key ? ` for key "${key}"` : '';
    throw Error(`Invalid value${keyText}${parentText}. Expected ${prettyTyp} but got ${JSON.stringify(val)}`);
}
function prettyTypeName(typ) {
    if (Array.isArray(typ)) {
        if (typ.length === 2 && typ[0] === undefined) {
            return `an optional ${prettyTypeName(typ[1])}`;
        }
        else {
            return `one of [${typ.map(a => { return prettyTypeName(a); }).join(", ")}]`;
        }
    }
    else if (typeof typ === "object" && typ.literal !== undefined) {
        return typ.literal;
    }
    else {
        return typeof typ;
    }
}
function jsonToJSProps(typ) {
    if (typ.jsonToJS === undefined) {
        const map = {};
        typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
        typ.jsonToJS = map;
    }
    return typ.jsonToJS;
}
function jsToJSONProps(typ) {
    if (typ.jsToJSON === undefined) {
        const map = {};
        typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
        typ.jsToJSON = map;
    }
    return typ.jsToJSON;
}
function transform(val, typ, getProps, key = '', parent = '') {
    function transformPrimitive(typ, val) {
        if (typeof typ === typeof val)
            return val;
        return invalidValue(typ, val, key, parent);
    }
    function transformUnion(typs, val) {
        // val must validate against one typ in typs
        const l = typs.length;
        for (let i = 0; i < l; i++) {
            const typ = typs[i];
            try {
                return transform(val, typ, getProps);
            }
            catch (_) { }
        }
        return invalidValue(typs, val, key, parent);
    }
    function transformEnum(cases, val) {
        if (cases.indexOf(val) !== -1)
            return val;
        return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
    }
    function transformArray(typ, val) {
        // val must be an array with no invalid elements
        if (!Array.isArray(val))
            return invalidValue(l("array"), val, key, parent);
        return val.map(el => transform(el, typ, getProps));
    }
    function transformDate(val) {
        if (val === null) {
            return null;
        }
        const d = new Date(val);
        if (isNaN(d.valueOf())) {
            return invalidValue(l("Date"), val, key, parent);
        }
        return d;
    }
    function transformObject(props, additional, val) {
        if (val === null || typeof val !== "object" || Array.isArray(val)) {
            return invalidValue(l(ref || "object"), val, key, parent);
        }
        const result = {};
        Object.getOwnPropertyNames(props).forEach(key => {
            const prop = props[key];
            const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
            result[prop.key] = transform(v, prop.typ, getProps, key, ref);
        });
        Object.getOwnPropertyNames(val).forEach(key => {
            if (!Object.prototype.hasOwnProperty.call(props, key)) {
                result[key] = transform(val[key], additional, getProps, key, ref);
            }
        });
        return result;
    }
    if (typ === "any")
        return val;
    if (typ === null) {
        if (val === null)
            return val;
        return invalidValue(typ, val, key, parent);
    }
    if (typ === false)
        return invalidValue(typ, val, key, parent);
    let ref = undefined;
    while (typeof typ === "object" && typ.ref !== undefined) {
        ref = typ.ref;
        typ = typeMap[typ.ref];
    }
    if (Array.isArray(typ))
        return transformEnum(typ, val);
    if (typeof typ === "object") {
        return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val)
            : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val)
                : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val)
                    : invalidValue(typ, val, key, parent);
    }
    // Numbers can be parsed by Date but shouldn't be.
    if (typ === Date && typeof val !== "number")
        return transformDate(val);
    return transformPrimitive(typ, val);
}
function cast(val, typ) {
    return transform(val, typ, jsonToJSProps);
}
function uncast(val, typ) {
    return transform(val, typ, jsToJSONProps);
}
function l(typ) {
    return { literal: typ };
}
function a(typ) {
    return { arrayItems: typ };
}
function u(...typs) {
    return { unionMembers: typs };
}
function o(props, additional) {
    return { props, additional };
}
function m(additional) {
    return { props: [], additional };
}
function r(name) {
    return { ref: name };
}
const typeMap = {
    "AgentErrorResponseMessage": o([
        { json: "meta", js: "meta", typ: r("AgentResponseMetadata") },
        { json: "payload", js: "payload", typ: r("ErrorResponseMessagePayload") },
        { json: "type", js: "type", typ: r("ResponseMessageType") },
    ], false),
    "AgentResponseMetadata": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "ErrorResponseMessagePayload": o([
        { json: "error", js: "error", typ: r("ResponseErrorDetail") },
    ], "any"),
    "AgentRequestMessage": o([
        { json: "meta", js: "meta", typ: r("AgentRequestMetadata") },
        { json: "payload", js: "payload", typ: m("any") },
        { json: "type", js: "type", typ: r("RequestMessageType") },
    ], false),
    "AgentRequestMetadata": o([
        { json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "BridgeParticipantIdentifier": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "appId", js: "appId", typ: u(undefined, "") },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "SourceIdentifier": o([
        { json: "appId", js: "appId", typ: u(undefined, "") },
        { json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "AgentResponseMessage": o([
        { json: "meta", js: "meta", typ: r("AgentResponseMetadata") },
        { json: "payload", js: "payload", typ: m("any") },
        { json: "type", js: "type", typ: r("ResponseMessageType") },
    ], false),
    "BridgeErrorResponseMessage": o([
        { json: "meta", js: "meta", typ: r("BridgeErrorResponseMessageMeta") },
        { json: "payload", js: "payload", typ: r("ResponseErrorMessagePayload") },
        { json: "type", js: "type", typ: "" },
    ], false),
    "BridgeErrorResponseMessageMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "DesktopAgentIdentifier": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
    ], "any"),
    "ResponseErrorMessagePayload": o([
        { json: "error", js: "error", typ: u(undefined, r("ResponseErrorDetail")) },
    ], "any"),
    "BridgeRequestMessage": o([
        { json: "meta", js: "meta", typ: r("BridgeRequestMetadata") },
        { json: "payload", js: "payload", typ: m("any") },
        { json: "type", js: "type", typ: "" },
    ], false),
    "BridgeRequestMetadata": o([
        { json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("BridgeParticipantIdentifier") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "BridgeResponseMessage": o([
        { json: "meta", js: "meta", typ: r("BridgeResponseMessageMeta") },
        { json: "payload", js: "payload", typ: m("any") },
        { json: "type", js: "type", typ: "" },
    ], false),
    "BridgeResponseMessageMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "BroadcastAgentRequest": o([
        { json: "meta", js: "meta", typ: r("BroadcastAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("BroadcastAgentRequestPayload") },
        { json: "type", js: "type", typ: r("BroadcastAgentRequestType") },
    ], false),
    "BroadcastAgentRequestMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("SourceObject") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "SourceObject": o([
        { json: "appId", js: "appId", typ: "" },
        { json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "BroadcastAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "context", js: "context", typ: r("ContextElement") },
    ], false),
    "ContextElement": o([
        { json: "id", js: "id", typ: u(undefined, m("any")) },
        { json: "name", js: "name", typ: u(undefined, "") },
        { json: "type", js: "type", typ: "" },
    ], "any"),
    "BroadcastBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("BroadcastBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("BroadcastBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("BroadcastAgentRequestType") },
    ], false),
    "BroadcastBridgeRequestMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "MetaSource": o([
        { json: "appId", js: "appId", typ: "" },
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "BroadcastBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "context", js: "context", typ: r("ContextElement") },
    ], false),
    "ConnectionStepMessage": o([
        { json: "meta", js: "meta", typ: r("ConnectionStepMetadata") },
        { json: "payload", js: "payload", typ: m("any") },
        { json: "type", js: "type", typ: r("ConnectionStepMessageType") },
    ], false),
    "ConnectionStepMetadata": o([
        { json: "requestUuid", js: "requestUuid", typ: u(undefined, "") },
        { json: "responseUuid", js: "responseUuid", typ: u(undefined, "") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "ConnectionStep2Hello": o([
        { json: "meta", js: "meta", typ: r("ConnectionStep2HelloMeta") },
        { json: "payload", js: "payload", typ: r("ConnectionStep2HelloPayload") },
        { json: "type", js: "type", typ: r("ConnectionStep2HelloType") },
    ], false),
    "ConnectionStep2HelloMeta": o([
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "ConnectionStep2HelloPayload": o([
        { json: "authRequired", js: "authRequired", typ: true },
        { json: "authToken", js: "authToken", typ: u(undefined, "") },
        { json: "desktopAgentBridgeVersion", js: "desktopAgentBridgeVersion", typ: "" },
        { json: "supportedFDC3Versions", js: "supportedFDC3Versions", typ: a("") },
    ], false),
    "ConnectionStep3Handshake": o([
        { json: "meta", js: "meta", typ: r("ConnectionStep3HandshakeMeta") },
        { json: "payload", js: "payload", typ: r("ConnectionStep3HandshakePayload") },
        { json: "type", js: "type", typ: r("ConnectionStep3HandshakeType") },
    ], false),
    "ConnectionStep3HandshakeMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "ConnectionStep3HandshakePayload": o([
        { json: "authToken", js: "authToken", typ: u(undefined, "") },
        { json: "channelsState", js: "channelsState", typ: m(a(r("ContextElement"))) },
        { json: "implementationMetadata", js: "implementationMetadata", typ: r("ConnectingAgentImplementationMetadata") },
        { json: "requestedName", js: "requestedName", typ: "" },
    ], false),
    "ConnectingAgentImplementationMetadata": o([
        { json: "fdc3Version", js: "fdc3Version", typ: "" },
        { json: "optionalFeatures", js: "optionalFeatures", typ: r("OptionalFeatures") },
        { json: "provider", js: "provider", typ: "" },
        { json: "providerVersion", js: "providerVersion", typ: u(undefined, "") },
    ], false),
    "OptionalFeatures": o([
        { json: "DesktopAgentBridging", js: "DesktopAgentBridging", typ: true },
        { json: "OriginatingAppMetadata", js: "OriginatingAppMetadata", typ: true },
        { json: "UserChannelMembershipAPIs", js: "UserChannelMembershipAPIs", typ: true },
    ], false),
    "ConnectionStep4AuthenticationFailed": o([
        { json: "meta", js: "meta", typ: r("ConnectionStep4AuthenticationFailedMeta") },
        { json: "payload", js: "payload", typ: r("ConnectionStep4AuthenticationFailedPayload") },
        { json: "type", js: "type", typ: r("ConnectionStep4AuthenticationFailedType") },
    ], false),
    "ConnectionStep4AuthenticationFailedMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "ConnectionStep4AuthenticationFailedPayload": o([
        { json: "message", js: "message", typ: u(undefined, "") },
    ], false),
    "ConnectionStep6ConnectedAgentsUpdate": o([
        { json: "meta", js: "meta", typ: r("ConnectionStep6ConnectedAgentsUpdateMeta") },
        { json: "payload", js: "payload", typ: r("ConnectionStep6ConnectedAgentsUpdatePayload") },
        { json: "type", js: "type", typ: r("ConnectionStep6ConnectedAgentsUpdateType") },
    ], false),
    "ConnectionStep6ConnectedAgentsUpdateMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "ConnectionStep6ConnectedAgentsUpdatePayload": o([
        { json: "addAgent", js: "addAgent", typ: u(undefined, "") },
        { json: "allAgents", js: "allAgents", typ: a(r("DesktopAgentImplementationMetadata")) },
        { json: "channelsState", js: "channelsState", typ: u(undefined, m(a(r("ContextElement")))) },
        { json: "removeAgent", js: "removeAgent", typ: u(undefined, "") },
    ], false),
    "DesktopAgentImplementationMetadata": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "fdc3Version", js: "fdc3Version", typ: "" },
        { json: "optionalFeatures", js: "optionalFeatures", typ: r("OptionalFeatures") },
        { json: "provider", js: "provider", typ: "" },
        { json: "providerVersion", js: "providerVersion", typ: u(undefined, "") },
    ], false),
    "FindInstancesAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("FindInstancesAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindInstancesAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
    ], false),
    "FindInstancesAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindInstancesAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "FindInstancesAgentRequest": o([
        { json: "meta", js: "meta", typ: r("FindInstancesAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("FindInstancesAgentRequestPayload") },
        { json: "type", js: "type", typ: r("FindInstancesAgentRequestType") },
    ], false),
    "FindInstancesAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "DestinationObject": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "appId", js: "appId", typ: u(undefined, "") },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "FindInstancesAgentRequestPayload": o([
        { json: "app", js: "app", typ: r("AppIdentifier") },
    ], false),
    "AppIdentifier": o([
        { json: "appId", js: "appId", typ: "" },
        { json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "FindInstancesAgentResponse": o([
        { json: "meta", js: "meta", typ: r("FindInstancesAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindInstancesAgentResponsePayload") },
        { json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
    ], false),
    "FindInstancesAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindInstancesAgentResponsePayload": o([
        { json: "appIdentifiers", js: "appIdentifiers", typ: a(r("AppMetadata")) },
    ], false),
    "AppMetadata": o([
        { json: "appId", js: "appId", typ: "" },
        { json: "description", js: "description", typ: u(undefined, "") },
        { json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
        { json: "icons", js: "icons", typ: u(undefined, a(r("Icon"))) },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
        { json: "instanceMetadata", js: "instanceMetadata", typ: u(undefined, m("any")) },
        { json: "name", js: "name", typ: u(undefined, "") },
        { json: "resultType", js: "resultType", typ: u(undefined, u(null, "")) },
        { json: "screenshots", js: "screenshots", typ: u(undefined, a(r("Image"))) },
        { json: "title", js: "title", typ: u(undefined, "") },
        { json: "tooltip", js: "tooltip", typ: u(undefined, "") },
        { json: "version", js: "version", typ: u(undefined, "") },
    ], false),
    "Icon": o([
        { json: "size", js: "size", typ: u(undefined, "") },
        { json: "src", js: "src", typ: "" },
        { json: "type", js: "type", typ: u(undefined, "") },
    ], false),
    "Image": o([
        { json: "label", js: "label", typ: u(undefined, "") },
        { json: "size", js: "size", typ: u(undefined, "") },
        { json: "src", js: "src", typ: "" },
        { json: "type", js: "type", typ: u(undefined, "") },
    ], false),
    "FindInstancesBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("FindInstancesBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindInstancesBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
    ], false),
    "FindInstancesBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindInstancesBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "FindInstancesBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("FindInstancesBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("FindInstancesBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("FindInstancesAgentRequestType") },
    ], false),
    "FindInstancesBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSourceObject") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "MetaSourceObject": o([
        { json: "appId", js: "appId", typ: u(undefined, "") },
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "FindInstancesBridgeRequestPayload": o([
        { json: "app", js: "app", typ: r("AppIdentifier") },
    ], false),
    "FindInstancesBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("FindInstancesBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindInstancesBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
    ], false),
    "FindInstancesBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindInstancesBridgeResponsePayload": o([
        { json: "appIdentifiers", js: "appIdentifiers", typ: a(r("AppMetadata")) },
    ], false),
    "FindIntentAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
    ], false),
    "FindIntentAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "FindIntentAgentRequest": o([
        { json: "meta", js: "meta", typ: r("FindIntentAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentAgentRequestPayload") },
        { json: "type", js: "type", typ: r("FindIntentAgentRequestType") },
    ], false),
    "FindIntentAgentRequestMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
        { json: "timestamp", js: "timestamp", typ: Date },
        { json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
    ], false),
    "FindIntentAgentRequestPayload": o([
        { json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
        { json: "intent", js: "intent", typ: "" },
        { json: "resultType", js: "resultType", typ: u(undefined, "") },
    ], false),
    "FindIntentAgentResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentAgentResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
    ], false),
    "FindIntentAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentAgentResponsePayload": o([
        { json: "appIntent", js: "appIntent", typ: r("AppIntent") },
    ], false),
    "AppIntent": o([
        { json: "apps", js: "apps", typ: a(r("AppMetadata")) },
        { json: "intent", js: "intent", typ: r("IntentMetadata") },
    ], false),
    "IntentMetadata": o([
        { json: "displayName", js: "displayName", typ: "" },
        { json: "name", js: "name", typ: "" },
    ], false),
    "FindIntentBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
    ], false),
    "FindIntentBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "FindIntentBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("FindIntentBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("FindIntentAgentRequestType") },
    ], false),
    "FindIntentBridgeRequestMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("BridgeParticipantIdentifier") },
        { json: "timestamp", js: "timestamp", typ: Date },
        { json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
    ], false),
    "FindIntentBridgeRequestPayload": o([
        { json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
        { json: "intent", js: "intent", typ: "" },
        { json: "resultType", js: "resultType", typ: u(undefined, "") },
    ], false),
    "FindIntentBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
    ], false),
    "FindIntentBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentBridgeResponsePayload": o([
        { json: "appIntent", js: "appIntent", typ: r("AppIntent") },
    ], false),
    "FindIntentsByContextAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentsByContextAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentsByContextAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
    ], false),
    "FindIntentsByContextAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentsByContextAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "FindIntentsByContextAgentRequest": o([
        { json: "meta", js: "meta", typ: r("FindIntentsByContextAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentsByContextAgentRequestPayload") },
        { json: "type", js: "type", typ: r("FindIntentsByContextAgentRequestType") },
    ], false),
    "FindIntentsByContextAgentRequestMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
        { json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
    ], false),
    "FindIntentsByContextAgentRequestPayload": o([
        { json: "context", js: "context", typ: r("ContextElement") },
    ], false),
    "FindIntentsByContextAgentResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentsByContextAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentsByContextAgentResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
    ], false),
    "FindIntentsByContextAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentsByContextAgentResponsePayload": o([
        { json: "appIntents", js: "appIntents", typ: a(r("AppIntent")) },
    ], false),
    "FindIntentsByContextBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentsByContextBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentsByContextBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
    ], false),
    "FindIntentsByContextBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentsByContextBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "FindIntentsByContextBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("FindIntentsByContextBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentsByContextBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("FindIntentsByContextAgentRequestType") },
    ], false),
    "FindIntentsByContextBridgeRequestMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
        { json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
    ], false),
    "FindIntentsByContextBridgeRequestPayload": o([
        { json: "context", js: "context", typ: r("ContextElement") },
    ], false),
    "FindIntentsByContextBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("FindIntentsByContextBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("FindIntentsByContextBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
    ], false),
    "FindIntentsByContextBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "FindIntentsByContextBridgeResponsePayload": o([
        { json: "appIntents", js: "appIntents", typ: a(r("AppIntent")) },
    ], false),
    "GetAppMetadataAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("GetAppMetadataAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("GetAppMetadataAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
    ], false),
    "GetAppMetadataAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "GetAppMetadataAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "GetAppMetadataAgentRequest": o([
        { json: "meta", js: "meta", typ: r("GetAppMetadataAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("GetAppMetadataAgentRequestPayload") },
        { json: "type", js: "type", typ: r("GetAppMetadataAgentRequestType") },
    ], false),
    "GetAppMetadataAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "GetAppMetadataAgentRequestPayload": o([
        { json: "app", js: "app", typ: r("AppDestinationIdentifier") },
    ], false),
    "AppDestinationIdentifier": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "appId", js: "appId", typ: "" },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "GetAppMetadataAgentResponse": o([
        { json: "meta", js: "meta", typ: r("GetAppMetadataAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("GetAppMetadataAgentResponsePayload") },
        { json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
    ], false),
    "GetAppMetadataAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "GetAppMetadataAgentResponsePayload": o([
        { json: "appMetadata", js: "appMetadata", typ: r("AppMetadata") },
    ], false),
    "GetAppMetadataBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("GetAppMetadataBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("GetAppMetadataBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
    ], false),
    "GetAppMetadataBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "GetAppMetadataBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "GetAppMetadataBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("GetAppMetadataBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("GetAppMetadataBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("GetAppMetadataAgentRequestType") },
    ], false),
    "GetAppMetadataBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSourceObject") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "GetAppMetadataBridgeRequestPayload": o([
        { json: "app", js: "app", typ: r("AppDestinationIdentifier") },
    ], false),
    "GetAppMetadataBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("GetAppMetadataBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("GetAppMetadataBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
    ], false),
    "GetAppMetadataBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "GetAppMetadataBridgeResponsePayload": o([
        { json: "appMetadata", js: "appMetadata", typ: r("AppMetadata") },
    ], false),
    "OpenAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("OpenAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("OpenAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
    ], false),
    "OpenAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "OpenAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("OpenErrorMessage") },
    ], false),
    "OpenAgentRequest": o([
        { json: "meta", js: "meta", typ: r("OpenAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("OpenAgentRequestPayload") },
        { json: "type", js: "type", typ: r("OpenAgentRequestType") },
    ], false),
    "OpenAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("SourceObject") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "OpenAgentRequestPayload": o([
        { json: "app", js: "app", typ: r("AppToOpen") },
        { json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
    ], false),
    "AppToOpen": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "appId", js: "appId", typ: "" },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "OpenAgentResponse": o([
        { json: "meta", js: "meta", typ: r("OpenAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("OpenAgentResponsePayload") },
        { json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
    ], false),
    "OpenAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "OpenAgentResponsePayload": o([
        { json: "appIdentifier", js: "appIdentifier", typ: r("AppIdentifier") },
    ], false),
    "OpenBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("OpenBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("OpenBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
    ], false),
    "OpenBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "OpenBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("OpenErrorMessage") },
    ], false),
    "OpenBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("OpenBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("OpenBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("OpenAgentRequestType") },
    ], false),
    "OpenBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "OpenBridgeRequestPayload": o([
        { json: "app", js: "app", typ: r("AppToOpen") },
        { json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
    ], false),
    "OpenBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("OpenBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("OpenBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
    ], false),
    "OpenBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "OpenBridgeResponsePayload": o([
        { json: "appIdentifier", js: "appIdentifier", typ: r("AppIdentifier") },
    ], false),
    "PrivateChannelBroadcastAgentRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelBroadcastAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelBroadcastAgentRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelBroadcastAgentRequestType") },
    ], false),
    "PrivateChannelBroadcastAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "MetaDestination": o([
        { json: "desktopAgent", js: "desktopAgent", typ: "" },
        { json: "appId", js: "appId", typ: "" },
        { json: "instanceId", js: "instanceId", typ: u(undefined, "") },
    ], "any"),
    "PrivateChannelBroadcastAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "context", js: "context", typ: r("ContextElement") },
    ], false),
    "PrivateChannelBroadcastBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelBroadcastBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelBroadcastBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelBroadcastAgentRequestType") },
    ], false),
    "PrivateChannelBroadcastBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelBroadcastBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "context", js: "context", typ: r("ContextElement") },
    ], false),
    "PrivateChannelEventListenerAddedAgentRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelEventListenerAddedAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelEventListenerAddedAgentRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelEventListenerAddedAgentRequestType") },
    ], false),
    "PrivateChannelEventListenerAddedAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelEventListenerAddedAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
    ], false),
    "PrivateChannelEventListenerAddedBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelEventListenerAddedBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelEventListenerAddedBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelEventListenerAddedAgentRequestType") },
    ], false),
    "PrivateChannelEventListenerAddedBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelEventListenerAddedBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
    ], false),
    "PrivateChannelEventListenerRemovedAgentRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelEventListenerRemovedAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelEventListenerRemovedAgentRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelEventListenerRemovedAgentRequestType") },
    ], false),
    "PrivateChannelEventListenerRemovedAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelEventListenerRemovedAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
    ], false),
    "PrivateChannelEventListenerRemovedBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelEventListenerRemovedBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelEventListenerRemovedBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelEventListenerRemovedAgentRequestType") },
    ], false),
    "PrivateChannelEventListenerRemovedBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelEventListenerRemovedBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
    ], false),
    "PrivateChannelOnAddContextListenerAgentRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelOnAddContextListenerAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelOnAddContextListenerAgentRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelOnAddContextListenerAgentRequestType") },
    ], false),
    "PrivateChannelOnAddContextListenerAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelOnAddContextListenerAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "contextType", js: "contextType", typ: u(null, "") },
    ], false),
    "PrivateChannelOnAddContextListenerBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelOnAddContextListenerBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelOnAddContextListenerBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelOnAddContextListenerAgentRequestType") },
    ], false),
    "PrivateChannelOnAddContextListenerBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelOnAddContextListenerBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "contextType", js: "contextType", typ: u(null, "") },
    ], false),
    "PrivateChannelOnDisconnectAgentRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelOnDisconnectAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelOnDisconnectAgentRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelOnDisconnectAgentRequestType") },
    ], false),
    "PrivateChannelOnDisconnectAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelOnDisconnectAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
    ], false),
    "PrivateChannelOnDisconnectBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelOnDisconnectBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelOnDisconnectBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelOnDisconnectAgentRequestType") },
    ], false),
    "PrivateChannelOnDisconnectBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelOnDisconnectBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
    ], false),
    "PrivateChannelOnUnsubscribeAgentRequest": o([
        { json: "meta", js: "meta", typ: r("PrivateChannelOnUnsubscribeAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("PrivateChannelOnUnsubscribeAgentRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelOnUnsubscribeAgentRequestType") },
    ], false),
    "PrivateChannelOnUnsubscribeAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelOnUnsubscribeAgentRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "contextType", js: "contextType", typ: u(null, "") },
    ], false),
    "PrivateChannelOnUnsubscribeBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("ERequestMetadata") },
        { json: "payload", js: "payload", typ: r("PrivateChannelOnUnsubscribeBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("PrivateChannelOnUnsubscribeAgentRequestType") },
    ], false),
    "ERequestMetadata": o([
        { json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "PrivateChannelOnUnsubscribeBridgeRequestPayload": o([
        { json: "channelId", js: "channelId", typ: "" },
        { json: "contextType", js: "contextType", typ: u(null, "") },
    ], false),
    "RaiseIntentAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
    ], false),
    "RaiseIntentAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "RaiseIntentAgentRequest": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentAgentRequestMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentAgentRequestPayload") },
        { json: "type", js: "type", typ: r("RaiseIntentAgentRequestType") },
    ], false),
    "RaiseIntentAgentRequestMeta": o([
        { json: "destination", js: "destination", typ: r("MetaDestination") },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("SourceObject") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentAgentRequestPayload": o([
        { json: "app", js: "app", typ: r("AppDestinationIdentifier") },
        { json: "context", js: "context", typ: r("ContextElement") },
        { json: "intent", js: "intent", typ: "" },
    ], false),
    "RaiseIntentAgentResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentAgentResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
    ], false),
    "RaiseIntentAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentAgentResponsePayload": o([
        { json: "intentResolution", js: "intentResolution", typ: r("IntentResolution") },
    ], false),
    "IntentResolution": o([
        { json: "intent", js: "intent", typ: "" },
        { json: "source", js: "source", typ: r("AppIdentifier") },
        { json: "version", js: "version", typ: u(undefined, "") },
    ], false),
    "RaiseIntentBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
    ], false),
    "RaiseIntentBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("ErrorMessage") },
    ], false),
    "RaiseIntentBridgeRequest": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentBridgeRequestMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentBridgeRequestPayload") },
        { json: "type", js: "type", typ: r("RaiseIntentAgentRequestType") },
    ], false),
    "RaiseIntentBridgeRequestMeta": o([
        { json: "destination", js: "destination", typ: r("MetaDestination") },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "source", js: "source", typ: r("MetaSource") },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentBridgeRequestPayload": o([
        { json: "app", js: "app", typ: r("AppDestinationIdentifier") },
        { json: "context", js: "context", typ: r("ContextElement") },
        { json: "intent", js: "intent", typ: "" },
    ], false),
    "RaiseIntentBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
    ], false),
    "RaiseIntentBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentBridgeResponsePayload": o([
        { json: "intentResolution", js: "intentResolution", typ: r("IntentResolution") },
    ], false),
    "RaiseIntentResultAgentErrorResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentResultAgentErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentResultAgentErrorResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
    ], false),
    "RaiseIntentResultAgentErrorResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentResultAgentErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("RaiseIntentResultErrorMessage") },
    ], false),
    "RaiseIntentResultAgentResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentResultAgentResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentResultAgentResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
    ], false),
    "RaiseIntentResultAgentResponseMeta": o([
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentResultAgentResponsePayload": o([
        { json: "intentResult", js: "intentResult", typ: r("IntentResult") },
    ], false),
    "IntentResult": o([
        { json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
        { json: "channel", js: "channel", typ: u(undefined, r("Channel")) },
    ], false),
    "Channel": o([
        { json: "displayMetadata", js: "displayMetadata", typ: u(undefined, r("DisplayMetadata")) },
        { json: "id", js: "id", typ: "" },
        { json: "type", js: "type", typ: r("Type") },
    ], false),
    "DisplayMetadata": o([
        { json: "color", js: "color", typ: u(undefined, "") },
        { json: "glyph", js: "glyph", typ: u(undefined, "") },
        { json: "name", js: "name", typ: u(undefined, "") },
    ], false),
    "RaiseIntentResultBridgeErrorResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentResultBridgeErrorResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentResultBridgeErrorResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
    ], false),
    "RaiseIntentResultBridgeErrorResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
        { json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentResultBridgeErrorResponsePayload": o([
        { json: "error", js: "error", typ: r("RaiseIntentResultErrorMessage") },
    ], false),
    "RaiseIntentResultBridgeResponse": o([
        { json: "meta", js: "meta", typ: r("RaiseIntentResultBridgeResponseMeta") },
        { json: "payload", js: "payload", typ: r("RaiseIntentResultBridgeResponsePayload") },
        { json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
    ], false),
    "RaiseIntentResultBridgeResponseMeta": o([
        { json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
        { json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "requestUuid", js: "requestUuid", typ: "" },
        { json: "responseUuid", js: "responseUuid", typ: "" },
        { json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
        { json: "timestamp", js: "timestamp", typ: Date },
    ], false),
    "RaiseIntentResultBridgeResponsePayload": o([
        { json: "intentResult", js: "intentResult", typ: r("IntentResult") },
    ], false),
    "Context": o([
        { json: "id", js: "id", typ: u(undefined, m("any")) },
        { json: "name", js: "name", typ: u(undefined, "") },
        { json: "type", js: "type", typ: "" },
    ], "any"),
    "ResponseErrorDetail": [
        "AccessDenied",
        "AgentDisconnected",
        "AppNotFound",
        "AppTimeout",
        "CreationFailed",
        "DesktopAgentNotFound",
        "ErrorOnLaunch",
        "IntentDeliveryFailed",
        "IntentHandlerRejected",
        "MalformedContext",
        "MalformedMessage",
        "NoAppsFound",
        "NoChannelFound",
        "NoResultReturned",
        "NotConnectedToBridge",
        "ResolverTimeout",
        "ResolverUnavailable",
        "ResponseToBridgeTimedOut",
        "TargetAppUnavailable",
        "TargetInstanceUnavailable",
        "UserCancelledResolution",
    ],
    "ResponseMessageType": [
        "findInstancesResponse",
        "findIntentResponse",
        "findIntentsByContextResponse",
        "getAppMetadataResponse",
        "openResponse",
        "raiseIntentResponse",
        "raiseIntentResultResponse",
    ],
    "RequestMessageType": [
        "broadcastRequest",
        "findInstancesRequest",
        "findIntentRequest",
        "findIntentsByContextRequest",
        "getAppMetadataRequest",
        "openRequest",
        "PrivateChannel.broadcast",
        "PrivateChannel.eventListenerAdded",
        "PrivateChannel.eventListenerRemoved",
        "PrivateChannel.onAddContextListener",
        "PrivateChannel.onDisconnect",
        "PrivateChannel.onUnsubscribe",
        "raiseIntentRequest",
    ],
    "BroadcastAgentRequestType": [
        "broadcastRequest",
    ],
    "ConnectionStepMessageType": [
        "authenticationFailed",
        "connectedAgentsUpdate",
        "handshake",
        "hello",
    ],
    "ConnectionStep2HelloType": [
        "hello",
    ],
    "ConnectionStep3HandshakeType": [
        "handshake",
    ],
    "ConnectionStep4AuthenticationFailedType": [
        "authenticationFailed",
    ],
    "ConnectionStep6ConnectedAgentsUpdateType": [
        "connectedAgentsUpdate",
    ],
    "ErrorMessage": [
        "AgentDisconnected",
        "DesktopAgentNotFound",
        "IntentDeliveryFailed",
        "MalformedContext",
        "MalformedMessage",
        "NoAppsFound",
        "NotConnectedToBridge",
        "ResolverTimeout",
        "ResolverUnavailable",
        "ResponseToBridgeTimedOut",
        "TargetAppUnavailable",
        "TargetInstanceUnavailable",
        "UserCancelledResolution",
    ],
    "FindInstancesAgentErrorResponseType": [
        "findInstancesResponse",
    ],
    "FindInstancesAgentRequestType": [
        "findInstancesRequest",
    ],
    "FindIntentAgentErrorResponseType": [
        "findIntentResponse",
    ],
    "FindIntentAgentRequestType": [
        "findIntentRequest",
    ],
    "FindIntentsByContextAgentErrorResponseType": [
        "findIntentsByContextResponse",
    ],
    "FindIntentsByContextAgentRequestType": [
        "findIntentsByContextRequest",
    ],
    "GetAppMetadataAgentErrorResponseType": [
        "getAppMetadataResponse",
    ],
    "GetAppMetadataAgentRequestType": [
        "getAppMetadataRequest",
    ],
    "OpenErrorMessage": [
        "AgentDisconnected",
        "AppNotFound",
        "AppTimeout",
        "DesktopAgentNotFound",
        "ErrorOnLaunch",
        "MalformedContext",
        "MalformedMessage",
        "NotConnectedToBridge",
        "ResolverUnavailable",
        "ResponseToBridgeTimedOut",
    ],
    "OpenAgentErrorResponseType": [
        "openResponse",
    ],
    "OpenAgentRequestType": [
        "openRequest",
    ],
    "PrivateChannelBroadcastAgentRequestType": [
        "PrivateChannel.broadcast",
    ],
    "PrivateChannelEventListenerTypes": [
        "onAddContextListener",
        "onDisconnect",
        "onUnsubscribe",
    ],
    "PrivateChannelEventListenerAddedAgentRequestType": [
        "PrivateChannel.eventListenerAdded",
    ],
    "PrivateChannelEventListenerRemovedAgentRequestType": [
        "PrivateChannel.eventListenerRemoved",
    ],
    "PrivateChannelOnAddContextListenerAgentRequestType": [
        "PrivateChannel.onAddContextListener",
    ],
    "PrivateChannelOnDisconnectAgentRequestType": [
        "PrivateChannel.onDisconnect",
    ],
    "PrivateChannelOnUnsubscribeAgentRequestType": [
        "PrivateChannel.onUnsubscribe",
    ],
    "RaiseIntentAgentErrorResponseType": [
        "raiseIntentResponse",
    ],
    "RaiseIntentAgentRequestType": [
        "raiseIntentRequest",
    ],
    "RaiseIntentResultErrorMessage": [
        "AgentDisconnected",
        "IntentHandlerRejected",
        "MalformedMessage",
        "NoResultReturned",
        "NotConnectedToBridge",
        "ResponseToBridgeTimedOut",
    ],
    "RaiseIntentResultAgentErrorResponseType": [
        "raiseIntentResultResponse",
    ],
    "Type": [
        "app",
        "private",
        "user",
    ],
};
//# sourceMappingURL=BridgingTypes.js.map