@finsemble/finsemble-ui 10.0.0-iocd.2 → 10.0.0-iocd.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -3
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/authenticationClient.d.ts +1 -0
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +2 -0
- package/clients/authenticationClient.js.map +1 -1
- package/clients/dialogManagerClient.d.ts +3 -3
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +6 -6
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +1 -0
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +2 -0
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/searchClient.d.ts +1 -0
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +2 -0
- package/clients/searchClient.js.map +1 -1
- package/clients/windowClient.d.ts +8 -0
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +38 -0
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +4 -2
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +14 -7
- package/clients/workspaceClient.js.map +1 -1
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +1 -2
- package/common/Monitors.js.map +1 -1
- package/common/constants.d.ts +1 -0
- package/common/constants.d.ts.map +1 -1
- package/common/constants.js +1 -0
- package/common/constants.js.map +1 -1
- package/package.json +2 -3
- package/platform/services/Interop/modules/types.d.ts +1 -0
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.js +1 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/systemManager/types.d.ts +1 -1
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js.map +1 -1
- package/platform/services/window/types.d.ts +2 -1
- package/platform/services/window/types.d.ts.map +1 -1
- package/react/assets/css/advancedAppLauncher.css +65 -52
- package/react/components/favorites/FavoriteMaker.d.ts.map +1 -1
- package/react/components/favorites/FavoriteMaker.js +5 -3
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.js +0 -12
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +5 -4
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +0 -1
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +2 -5
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/system/System.d.ts.map +1 -1
- package/react/components/system/System.js +20 -5
- package/react/components/system/System.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +1 -4
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js +14 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts +2 -0
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js +22 -8
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts +5 -11
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js +57 -25
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.d.ts +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js +22 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +3 -15
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js +11 -28
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js +2 -6
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +91 -44
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +0 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +0 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts +17 -0
- package/react/components/userPreferences/FinsembleUserPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/FinsembleUserPreferences.js +28 -0
- package/react/components/userPreferences/FinsembleUserPreferences.js.map +1 -0
- package/react/components/userPreferences/UserPreferences.d.ts +1 -1
- package/react/components/userPreferences/UserPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferences.js +8 -11
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts +9 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +3 -14
- package/react/components/userPreferences/components/ContentSection.d.ts.map +1 -1
- package/react/components/userPreferences/components/ContentSection.js +0 -1
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/content/General.d.ts +2 -1
- package/react/components/userPreferences/components/content/General.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/General.js +11 -30
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -5
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +36 -53
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.js +2 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts +2 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ResetPreferences.js +5 -12
- package/react/components/userPreferences/components/general/ResetPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +5 -5
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.js +30 -84
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/iocdUserPreferences.d.ts +17 -0
- package/react/components/userPreferences/iocdUserPreferences.d.ts.map +1 -0
- package/react/components/userPreferences/iocdUserPreferences.js +49 -0
- package/react/components/userPreferences/iocdUserPreferences.js.map +1 -0
- package/react/components/userPreferences/utils.d.ts +3 -0
- package/react/components/userPreferences/utils.d.ts.map +1 -0
- package/react/components/userPreferences/utils.js +11 -0
- package/react/components/userPreferences/utils.js.map +1 -0
- package/react/components/utils.d.ts +2 -2
- package/react/components/utils.d.ts.map +1 -1
- package/react/components/utils.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.d.ts.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.js +7 -10
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js +6 -3
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useFavoritesShell.d.ts.map +1 -1
- package/react/hooks/useFavoritesShell.js +6 -1
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/typedefs/FDC3/api/DesktopAgent.d.ts +7 -5
- package/typedefs/FDC3/api/DesktopAgent.d.ts.map +1 -1
- package/typedefs/FDC3/api/IntentMetadata.d.ts +2 -1
- package/typedefs/FDC3/api/IntentMetadata.d.ts.map +1 -1
- package/typedefs/FDC3/api/IntentResolution.d.ts +2 -1
- package/typedefs/FDC3/api/IntentResolution.d.ts.map +1 -1
- package/typedefs/FDC3/api/Methods.d.ts +19 -5
- package/typedefs/FDC3/api/Methods.d.ts.map +1 -1
- package/typedefs/FDC3/api/Methods.js +19 -3
- package/typedefs/FDC3/api/Methods.js.map +1 -1
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts +519 -306
- package/typedefs/FDC3/bridging/BridgingTypes.d.ts.map +1 -1
- package/typedefs/FDC3/bridging/BridgingTypes.js +1372 -1386
- package/typedefs/FDC3/bridging/BridgingTypes.js.map +1 -1
- package/typedefs/FDC3/context/ContextType.d.ts +19 -1
- package/typedefs/FDC3/context/ContextType.d.ts.map +1 -1
- package/typedefs/FDC3/context/ContextType.js +7 -0
- package/typedefs/FDC3/context/ContextType.js.map +1 -1
- package/typedefs/FDC3/context/ContextTypes.d.ts +1373 -135
- package/typedefs/FDC3/context/ContextTypes.d.ts.map +1 -1
- package/typedefs/FDC3/context/ContextTypes.js +590 -508
- package/typedefs/FDC3/context/ContextTypes.js.map +1 -1
- package/typedefs/FDC3/intents/Intents.d.ts +15 -0
- package/typedefs/FDC3/intents/Intents.d.ts.map +1 -1
- package/typedefs/FDC3/intents/Intents.js +7 -0
- package/typedefs/FDC3/intents/Intents.js.map +1 -1
- package/typedefs/FDC3/internal/contextConfiguration.d.ts +2 -0
- package/typedefs/FDC3/internal/contextConfiguration.d.ts.map +1 -0
- package/typedefs/FDC3/internal/contextConfiguration.js +5 -0
- package/typedefs/FDC3/internal/contextConfiguration.js.map +1 -0
- package/typedefs/FDC3/internal/intentConfiguration.d.ts +2 -0
- package/typedefs/FDC3/internal/intentConfiguration.d.ts.map +1 -0
- package/typedefs/FDC3/internal/intentConfiguration.js +5 -0
- package/typedefs/FDC3/internal/intentConfiguration.js.map +1 -0
- package/typedefs/FDC3/internal/typeHelpers.d.ts +7 -0
- package/typedefs/FDC3/internal/typeHelpers.d.ts.map +1 -0
- package/typedefs/FDC3/internal/typeHelpers.js +5 -0
- package/typedefs/FDC3/internal/typeHelpers.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppActionsMenu.d.ts +0 -43
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppActionsMenu.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppActionsMenu.js +0 -123
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppActionsMenu.js.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FilterSort.d.ts +0 -26
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FilterSort.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FilterSort.js +0 -34
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FilterSort.js.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +0 -9
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/ToggleFavoriteDropdown.js +0 -27
- package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/ToggleFavoriteDropdown.js.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
// To parse this data:
|
|
2
2
|
//
|
|
3
|
-
// import { Convert,
|
|
3
|
+
// 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";
|
|
4
4
|
//
|
|
5
|
-
// const
|
|
6
|
-
// const baseImplementationMetadata = Convert.toBaseImplementationMetadata(json);
|
|
5
|
+
// const fDC3DesktopAgentAPISchema = Convert.toFDC3DesktopAgentAPISchema(json);
|
|
7
6
|
// const agentErrorResponseMessage = Convert.toAgentErrorResponseMessage(json);
|
|
8
7
|
// const agentRequestMessage = Convert.toAgentRequestMessage(json);
|
|
9
8
|
// const agentResponseMessage = Convert.toAgentResponseMessage(json);
|
|
@@ -74,586 +73,416 @@
|
|
|
74
73
|
//
|
|
75
74
|
// These functions will throw an error if the JSON doesn't
|
|
76
75
|
// match the expected interface, even if the JSON is valid.
|
|
77
|
-
/**
|
|
78
|
-
* Array of error message strings for responses that were not returned to the bridge before
|
|
79
|
-
* the timeout or because an error occurred. Should be the same length as the `errorSources`
|
|
80
|
-
* array and ordered the same. May be omitted if all sources responded without errors.
|
|
81
|
-
*
|
|
82
|
-
* Constants representing the errors that can be encountered when calling the `open` method
|
|
83
|
-
* on the DesktopAgent object (`fdc3`).
|
|
84
|
-
*
|
|
85
|
-
* Constants representing the errors that can be encountered when calling the `findIntent`,
|
|
86
|
-
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
87
|
-
* DesktopAgent (`fdc3`).
|
|
88
|
-
*/
|
|
89
|
-
export var ResponseErrorDetail;
|
|
90
|
-
(function (ResponseErrorDetail) {
|
|
91
|
-
ResponseErrorDetail["AccessDenied"] = "AccessDenied";
|
|
92
|
-
ResponseErrorDetail["AgentDisconnected"] = "AgentDisconnected";
|
|
93
|
-
ResponseErrorDetail["AppNotFound"] = "AppNotFound";
|
|
94
|
-
ResponseErrorDetail["AppTimeout"] = "AppTimeout";
|
|
95
|
-
ResponseErrorDetail["CreationFailed"] = "CreationFailed";
|
|
96
|
-
ResponseErrorDetail["DesktopAgentNotFound"] = "DesktopAgentNotFound";
|
|
97
|
-
ResponseErrorDetail["ErrorOnLaunch"] = "ErrorOnLaunch";
|
|
98
|
-
ResponseErrorDetail["IntentDeliveryFailed"] = "IntentDeliveryFailed";
|
|
99
|
-
ResponseErrorDetail["IntentHandlerRejected"] = "IntentHandlerRejected";
|
|
100
|
-
ResponseErrorDetail["MalformedContext"] = "MalformedContext";
|
|
101
|
-
ResponseErrorDetail["MalformedMessage"] = "MalformedMessage";
|
|
102
|
-
ResponseErrorDetail["NoAppsFound"] = "NoAppsFound";
|
|
103
|
-
ResponseErrorDetail["NoChannelFound"] = "NoChannelFound";
|
|
104
|
-
ResponseErrorDetail["NoResultReturned"] = "NoResultReturned";
|
|
105
|
-
ResponseErrorDetail["NotConnectedToBridge"] = "NotConnectedToBridge";
|
|
106
|
-
ResponseErrorDetail["ResolverTimeout"] = "ResolverTimeout";
|
|
107
|
-
ResponseErrorDetail["ResolverUnavailable"] = "ResolverUnavailable";
|
|
108
|
-
ResponseErrorDetail["ResponseToBridgeTimedOut"] = "ResponseToBridgeTimedOut";
|
|
109
|
-
ResponseErrorDetail["TargetAppUnavailable"] = "TargetAppUnavailable";
|
|
110
|
-
ResponseErrorDetail["TargetInstanceUnavailable"] = "TargetInstanceUnavailable";
|
|
111
|
-
ResponseErrorDetail["UserCancelledResolution"] = "UserCancelledResolution";
|
|
112
|
-
})(ResponseErrorDetail || (ResponseErrorDetail = {}));
|
|
113
|
-
/**
|
|
114
|
-
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
115
|
-
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
116
|
-
*/
|
|
117
|
-
export var ResponseMessageType;
|
|
118
|
-
(function (ResponseMessageType) {
|
|
119
|
-
ResponseMessageType["FindInstancesResponse"] = "findInstancesResponse";
|
|
120
|
-
ResponseMessageType["FindIntentResponse"] = "findIntentResponse";
|
|
121
|
-
ResponseMessageType["FindIntentsByContextResponse"] = "findIntentsByContextResponse";
|
|
122
|
-
ResponseMessageType["GetAppMetadataResponse"] = "getAppMetadataResponse";
|
|
123
|
-
ResponseMessageType["OpenResponse"] = "openResponse";
|
|
124
|
-
ResponseMessageType["RaiseIntentResponse"] = "raiseIntentResponse";
|
|
125
|
-
ResponseMessageType["RaiseIntentResultResponse"] = "raiseIntentResultResponse";
|
|
126
|
-
})(ResponseMessageType || (ResponseMessageType = {}));
|
|
127
|
-
/**
|
|
128
|
-
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
129
|
-
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
130
|
-
*/
|
|
131
|
-
export var RequestMessageType;
|
|
132
|
-
(function (RequestMessageType) {
|
|
133
|
-
RequestMessageType["BroadcastRequest"] = "broadcastRequest";
|
|
134
|
-
RequestMessageType["FindInstancesRequest"] = "findInstancesRequest";
|
|
135
|
-
RequestMessageType["FindIntentRequest"] = "findIntentRequest";
|
|
136
|
-
RequestMessageType["FindIntentsByContextRequest"] = "findIntentsByContextRequest";
|
|
137
|
-
RequestMessageType["GetAppMetadataRequest"] = "getAppMetadataRequest";
|
|
138
|
-
RequestMessageType["OpenRequest"] = "openRequest";
|
|
139
|
-
RequestMessageType["PrivateChannelBroadcast"] = "PrivateChannel.broadcast";
|
|
140
|
-
RequestMessageType["PrivateChannelEventListenerAdded"] = "PrivateChannel.eventListenerAdded";
|
|
141
|
-
RequestMessageType["PrivateChannelOnAddContextListener"] = "PrivateChannel.onAddContextListener";
|
|
142
|
-
RequestMessageType["PrivateChannelOnDisconnect"] = "PrivateChannel.onDisconnect";
|
|
143
|
-
RequestMessageType["PrivateChannelOnUnsubscribe"] = "PrivateChannel.onUnsubscribe";
|
|
144
|
-
RequestMessageType["RaiseIntentRequest"] = "raiseIntentRequest";
|
|
145
|
-
RequestMessageType["RaiseIntentResultResponse"] = "raiseIntentResultResponse";
|
|
146
|
-
})(RequestMessageType || (RequestMessageType = {}));
|
|
147
|
-
/**
|
|
148
|
-
* Identifies the type of the connection step message.
|
|
149
|
-
*/
|
|
150
|
-
export var ConnectionStepMessageType;
|
|
151
|
-
(function (ConnectionStepMessageType) {
|
|
152
|
-
ConnectionStepMessageType["AuthenticationFailed"] = "authenticationFailed";
|
|
153
|
-
ConnectionStepMessageType["ConnectedAgentsUpdate"] = "connectedAgentsUpdate";
|
|
154
|
-
ConnectionStepMessageType["Handshake"] = "handshake";
|
|
155
|
-
ConnectionStepMessageType["Hello"] = "hello";
|
|
156
|
-
})(ConnectionStepMessageType || (ConnectionStepMessageType = {}));
|
|
157
|
-
/**
|
|
158
|
-
* Constants representing the errors that can be encountered when calling the `findIntent`,
|
|
159
|
-
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
160
|
-
* DesktopAgent (`fdc3`).
|
|
161
|
-
*
|
|
162
|
-
* Array of error message strings for responses that were not returned to the bridge before
|
|
163
|
-
* the timeout or because an error occurred. Should be the same length as the `errorSources`
|
|
164
|
-
* array and ordered the same. May be omitted if all sources responded without errors.
|
|
165
|
-
*
|
|
166
|
-
* Constants representing the errors that can be encountered when calling the `open` method
|
|
167
|
-
* on the DesktopAgent object (`fdc3`).
|
|
168
|
-
*/
|
|
169
|
-
export var ErrorMessage;
|
|
170
|
-
(function (ErrorMessage) {
|
|
171
|
-
ErrorMessage["AgentDisconnected"] = "AgentDisconnected";
|
|
172
|
-
ErrorMessage["DesktopAgentNotFound"] = "DesktopAgentNotFound";
|
|
173
|
-
ErrorMessage["IntentDeliveryFailed"] = "IntentDeliveryFailed";
|
|
174
|
-
ErrorMessage["MalformedContext"] = "MalformedContext";
|
|
175
|
-
ErrorMessage["MalformedMessage"] = "MalformedMessage";
|
|
176
|
-
ErrorMessage["NoAppsFound"] = "NoAppsFound";
|
|
177
|
-
ErrorMessage["NotConnectedToBridge"] = "NotConnectedToBridge";
|
|
178
|
-
ErrorMessage["ResolverTimeout"] = "ResolverTimeout";
|
|
179
|
-
ErrorMessage["ResolverUnavailable"] = "ResolverUnavailable";
|
|
180
|
-
ErrorMessage["ResponseToBridgeTimedOut"] = "ResponseToBridgeTimedOut";
|
|
181
|
-
ErrorMessage["TargetAppUnavailable"] = "TargetAppUnavailable";
|
|
182
|
-
ErrorMessage["TargetInstanceUnavailable"] = "TargetInstanceUnavailable";
|
|
183
|
-
ErrorMessage["UserCancelledResolution"] = "UserCancelledResolution";
|
|
184
|
-
})(ErrorMessage || (ErrorMessage = {}));
|
|
185
|
-
/**
|
|
186
|
-
* Constants representing the errors that can be encountered when calling the `open` method
|
|
187
|
-
* on the DesktopAgent object (`fdc3`).
|
|
188
|
-
*
|
|
189
|
-
* Array of error message strings for responses that were not returned to the bridge before
|
|
190
|
-
* the timeout or because an error occurred. Should be the same length as the `errorSources`
|
|
191
|
-
* array and ordered the same. May be omitted if all sources responded without errors.
|
|
192
|
-
*
|
|
193
|
-
* Constants representing the errors that can be encountered when calling the `findIntent`,
|
|
194
|
-
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
195
|
-
* DesktopAgent (`fdc3`).
|
|
196
|
-
*/
|
|
197
|
-
export var OpenErrorMessage;
|
|
198
|
-
(function (OpenErrorMessage) {
|
|
199
|
-
OpenErrorMessage["AgentDisconnected"] = "AgentDisconnected";
|
|
200
|
-
OpenErrorMessage["AppNotFound"] = "AppNotFound";
|
|
201
|
-
OpenErrorMessage["AppTimeout"] = "AppTimeout";
|
|
202
|
-
OpenErrorMessage["DesktopAgentNotFound"] = "DesktopAgentNotFound";
|
|
203
|
-
OpenErrorMessage["ErrorOnLaunch"] = "ErrorOnLaunch";
|
|
204
|
-
OpenErrorMessage["MalformedContext"] = "MalformedContext";
|
|
205
|
-
OpenErrorMessage["MalformedMessage"] = "MalformedMessage";
|
|
206
|
-
OpenErrorMessage["NotConnectedToBridge"] = "NotConnectedToBridge";
|
|
207
|
-
OpenErrorMessage["ResolverUnavailable"] = "ResolverUnavailable";
|
|
208
|
-
OpenErrorMessage["ResponseToBridgeTimedOut"] = "ResponseToBridgeTimedOut";
|
|
209
|
-
})(OpenErrorMessage || (OpenErrorMessage = {}));
|
|
210
|
-
/**
|
|
211
|
-
* Array of error message strings for responses that were not returned to the bridge before
|
|
212
|
-
* the timeout or because an error occurred. Should be the same length as the `errorSources`
|
|
213
|
-
* array and ordered the same. May be omitted if all sources responded without errors.
|
|
214
|
-
*
|
|
215
|
-
* Constants representing the errors that can be encountered when calling the `open` method
|
|
216
|
-
* on the DesktopAgent object (`fdc3`).
|
|
217
|
-
*
|
|
218
|
-
* Constants representing the errors that can be encountered when calling the `findIntent`,
|
|
219
|
-
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
220
|
-
* DesktopAgent (`fdc3`).
|
|
221
|
-
*/
|
|
222
|
-
export var RaiseIntentResultErrorMessage;
|
|
223
|
-
(function (RaiseIntentResultErrorMessage) {
|
|
224
|
-
RaiseIntentResultErrorMessage["AgentDisconnected"] = "AgentDisconnected";
|
|
225
|
-
RaiseIntentResultErrorMessage["IntentHandlerRejected"] = "IntentHandlerRejected";
|
|
226
|
-
RaiseIntentResultErrorMessage["MalformedMessage"] = "MalformedMessage";
|
|
227
|
-
RaiseIntentResultErrorMessage["NoResultReturned"] = "NoResultReturned";
|
|
228
|
-
RaiseIntentResultErrorMessage["NotConnectedToBridge"] = "NotConnectedToBridge";
|
|
229
|
-
RaiseIntentResultErrorMessage["ResponseToBridgeTimedOut"] = "ResponseToBridgeTimedOut";
|
|
230
|
-
})(RaiseIntentResultErrorMessage || (RaiseIntentResultErrorMessage = {}));
|
|
231
|
-
/**
|
|
232
|
-
* Uniquely defines each channel type.
|
|
233
|
-
* Can be "user", "app" or "private".
|
|
234
|
-
*/
|
|
235
|
-
export var Type;
|
|
236
|
-
(function (Type) {
|
|
237
|
-
Type["App"] = "app";
|
|
238
|
-
Type["Private"] = "private";
|
|
239
|
-
Type["User"] = "user";
|
|
240
|
-
})(Type || (Type = {}));
|
|
241
76
|
// Converts JSON strings to/from your types
|
|
242
77
|
// and asserts the results of JSON.parse at runtime
|
|
243
78
|
export class Convert {
|
|
244
|
-
static
|
|
245
|
-
return cast(JSON.parse(json),
|
|
79
|
+
static toFDC3DesktopAgentAPISchema(json) {
|
|
80
|
+
return cast(JSON.parse(json), "any");
|
|
246
81
|
}
|
|
247
|
-
static
|
|
248
|
-
return JSON.stringify(uncast(value,
|
|
249
|
-
}
|
|
250
|
-
static toBaseImplementationMetadata(json) {
|
|
251
|
-
return cast(JSON.parse(json), r('BaseImplementationMetadata'));
|
|
252
|
-
}
|
|
253
|
-
static baseImplementationMetadataToJson(value) {
|
|
254
|
-
return JSON.stringify(uncast(value, r('BaseImplementationMetadata')), null, 2);
|
|
82
|
+
static fDC3DesktopAgentAPISchemaToJson(value) {
|
|
83
|
+
return JSON.stringify(uncast(value, "any"), null, 2);
|
|
255
84
|
}
|
|
256
85
|
static toAgentErrorResponseMessage(json) {
|
|
257
|
-
return cast(JSON.parse(json), r(
|
|
86
|
+
return cast(JSON.parse(json), r("AgentErrorResponseMessage"));
|
|
258
87
|
}
|
|
259
88
|
static agentErrorResponseMessageToJson(value) {
|
|
260
|
-
return JSON.stringify(uncast(value, r(
|
|
89
|
+
return JSON.stringify(uncast(value, r("AgentErrorResponseMessage")), null, 2);
|
|
261
90
|
}
|
|
262
91
|
static toAgentRequestMessage(json) {
|
|
263
|
-
return cast(JSON.parse(json), r(
|
|
92
|
+
return cast(JSON.parse(json), r("AgentRequestMessage"));
|
|
264
93
|
}
|
|
265
94
|
static agentRequestMessageToJson(value) {
|
|
266
|
-
return JSON.stringify(uncast(value, r(
|
|
95
|
+
return JSON.stringify(uncast(value, r("AgentRequestMessage")), null, 2);
|
|
267
96
|
}
|
|
268
97
|
static toAgentResponseMessage(json) {
|
|
269
|
-
return cast(JSON.parse(json), r(
|
|
98
|
+
return cast(JSON.parse(json), r("AgentResponseMessage"));
|
|
270
99
|
}
|
|
271
100
|
static agentResponseMessageToJson(value) {
|
|
272
|
-
return JSON.stringify(uncast(value, r(
|
|
101
|
+
return JSON.stringify(uncast(value, r("AgentResponseMessage")), null, 2);
|
|
273
102
|
}
|
|
274
103
|
static toBridgeErrorResponseMessage(json) {
|
|
275
|
-
return cast(JSON.parse(json), r(
|
|
104
|
+
return cast(JSON.parse(json), r("BridgeErrorResponseMessage"));
|
|
276
105
|
}
|
|
277
106
|
static bridgeErrorResponseMessageToJson(value) {
|
|
278
|
-
return JSON.stringify(uncast(value, r(
|
|
107
|
+
return JSON.stringify(uncast(value, r("BridgeErrorResponseMessage")), null, 2);
|
|
279
108
|
}
|
|
280
109
|
static toBridgeRequestMessage(json) {
|
|
281
|
-
return cast(JSON.parse(json), r(
|
|
110
|
+
return cast(JSON.parse(json), r("BridgeRequestMessage"));
|
|
282
111
|
}
|
|
283
112
|
static bridgeRequestMessageToJson(value) {
|
|
284
|
-
return JSON.stringify(uncast(value, r(
|
|
113
|
+
return JSON.stringify(uncast(value, r("BridgeRequestMessage")), null, 2);
|
|
285
114
|
}
|
|
286
115
|
static toBridgeResponseMessage(json) {
|
|
287
|
-
return cast(JSON.parse(json), r(
|
|
116
|
+
return cast(JSON.parse(json), r("BridgeResponseMessage"));
|
|
288
117
|
}
|
|
289
118
|
static bridgeResponseMessageToJson(value) {
|
|
290
|
-
return JSON.stringify(uncast(value, r(
|
|
119
|
+
return JSON.stringify(uncast(value, r("BridgeResponseMessage")), null, 2);
|
|
291
120
|
}
|
|
292
121
|
static toBroadcastAgentRequest(json) {
|
|
293
|
-
return cast(JSON.parse(json), r(
|
|
122
|
+
return cast(JSON.parse(json), r("BroadcastAgentRequest"));
|
|
294
123
|
}
|
|
295
124
|
static broadcastAgentRequestToJson(value) {
|
|
296
|
-
return JSON.stringify(uncast(value, r(
|
|
125
|
+
return JSON.stringify(uncast(value, r("BroadcastAgentRequest")), null, 2);
|
|
297
126
|
}
|
|
298
127
|
static toBroadcastBridgeRequest(json) {
|
|
299
|
-
return cast(JSON.parse(json), r(
|
|
128
|
+
return cast(JSON.parse(json), r("BroadcastBridgeRequest"));
|
|
300
129
|
}
|
|
301
130
|
static broadcastBridgeRequestToJson(value) {
|
|
302
|
-
return JSON.stringify(uncast(value, r(
|
|
131
|
+
return JSON.stringify(uncast(value, r("BroadcastBridgeRequest")), null, 2);
|
|
303
132
|
}
|
|
304
133
|
static toBridgingCommons(json) {
|
|
305
|
-
return cast(JSON.parse(json), m(
|
|
134
|
+
return cast(JSON.parse(json), m("any"));
|
|
306
135
|
}
|
|
307
136
|
static bridgingCommonsToJson(value) {
|
|
308
|
-
return JSON.stringify(uncast(value, m(
|
|
137
|
+
return JSON.stringify(uncast(value, m("any")), null, 2);
|
|
309
138
|
}
|
|
310
139
|
static toConnectionStepMessage(json) {
|
|
311
|
-
return cast(JSON.parse(json), r(
|
|
140
|
+
return cast(JSON.parse(json), r("ConnectionStepMessage"));
|
|
312
141
|
}
|
|
313
142
|
static connectionStepMessageToJson(value) {
|
|
314
|
-
return JSON.stringify(uncast(value, r(
|
|
143
|
+
return JSON.stringify(uncast(value, r("ConnectionStepMessage")), null, 2);
|
|
315
144
|
}
|
|
316
145
|
static toConnectionStep2Hello(json) {
|
|
317
|
-
return cast(JSON.parse(json), r(
|
|
146
|
+
return cast(JSON.parse(json), r("ConnectionStep2Hello"));
|
|
318
147
|
}
|
|
319
148
|
static connectionStep2HelloToJson(value) {
|
|
320
|
-
return JSON.stringify(uncast(value, r(
|
|
149
|
+
return JSON.stringify(uncast(value, r("ConnectionStep2Hello")), null, 2);
|
|
321
150
|
}
|
|
322
151
|
static toConnectionStep3Handshake(json) {
|
|
323
|
-
return cast(JSON.parse(json), r(
|
|
152
|
+
return cast(JSON.parse(json), r("ConnectionStep3Handshake"));
|
|
324
153
|
}
|
|
325
154
|
static connectionStep3HandshakeToJson(value) {
|
|
326
|
-
return JSON.stringify(uncast(value, r(
|
|
155
|
+
return JSON.stringify(uncast(value, r("ConnectionStep3Handshake")), null, 2);
|
|
327
156
|
}
|
|
328
157
|
static toConnectionStep4AuthenticationFailed(json) {
|
|
329
|
-
return cast(JSON.parse(json), r(
|
|
158
|
+
return cast(JSON.parse(json), r("ConnectionStep4AuthenticationFailed"));
|
|
330
159
|
}
|
|
331
160
|
static connectionStep4AuthenticationFailedToJson(value) {
|
|
332
|
-
return JSON.stringify(uncast(value, r(
|
|
161
|
+
return JSON.stringify(uncast(value, r("ConnectionStep4AuthenticationFailed")), null, 2);
|
|
333
162
|
}
|
|
334
163
|
static toConnectionStep6ConnectedAgentsUpdate(json) {
|
|
335
|
-
return cast(JSON.parse(json), r(
|
|
164
|
+
return cast(JSON.parse(json), r("ConnectionStep6ConnectedAgentsUpdate"));
|
|
336
165
|
}
|
|
337
166
|
static connectionStep6ConnectedAgentsUpdateToJson(value) {
|
|
338
|
-
return JSON.stringify(uncast(value, r(
|
|
167
|
+
return JSON.stringify(uncast(value, r("ConnectionStep6ConnectedAgentsUpdate")), null, 2);
|
|
339
168
|
}
|
|
340
169
|
static toFindInstancesAgentErrorResponse(json) {
|
|
341
|
-
return cast(JSON.parse(json), r(
|
|
170
|
+
return cast(JSON.parse(json), r("FindInstancesAgentErrorResponse"));
|
|
342
171
|
}
|
|
343
172
|
static findInstancesAgentErrorResponseToJson(value) {
|
|
344
|
-
return JSON.stringify(uncast(value, r(
|
|
173
|
+
return JSON.stringify(uncast(value, r("FindInstancesAgentErrorResponse")), null, 2);
|
|
345
174
|
}
|
|
346
175
|
static toFindInstancesAgentRequest(json) {
|
|
347
|
-
return cast(JSON.parse(json), r(
|
|
176
|
+
return cast(JSON.parse(json), r("FindInstancesAgentRequest"));
|
|
348
177
|
}
|
|
349
178
|
static findInstancesAgentRequestToJson(value) {
|
|
350
|
-
return JSON.stringify(uncast(value, r(
|
|
179
|
+
return JSON.stringify(uncast(value, r("FindInstancesAgentRequest")), null, 2);
|
|
351
180
|
}
|
|
352
181
|
static toFindInstancesAgentResponse(json) {
|
|
353
|
-
return cast(JSON.parse(json), r(
|
|
182
|
+
return cast(JSON.parse(json), r("FindInstancesAgentResponse"));
|
|
354
183
|
}
|
|
355
184
|
static findInstancesAgentResponseToJson(value) {
|
|
356
|
-
return JSON.stringify(uncast(value, r(
|
|
185
|
+
return JSON.stringify(uncast(value, r("FindInstancesAgentResponse")), null, 2);
|
|
357
186
|
}
|
|
358
187
|
static toFindInstancesBridgeErrorResponse(json) {
|
|
359
|
-
return cast(JSON.parse(json), r(
|
|
188
|
+
return cast(JSON.parse(json), r("FindInstancesBridgeErrorResponse"));
|
|
360
189
|
}
|
|
361
190
|
static findInstancesBridgeErrorResponseToJson(value) {
|
|
362
|
-
return JSON.stringify(uncast(value, r(
|
|
191
|
+
return JSON.stringify(uncast(value, r("FindInstancesBridgeErrorResponse")), null, 2);
|
|
363
192
|
}
|
|
364
193
|
static toFindInstancesBridgeRequest(json) {
|
|
365
|
-
return cast(JSON.parse(json), r(
|
|
194
|
+
return cast(JSON.parse(json), r("FindInstancesBridgeRequest"));
|
|
366
195
|
}
|
|
367
196
|
static findInstancesBridgeRequestToJson(value) {
|
|
368
|
-
return JSON.stringify(uncast(value, r(
|
|
197
|
+
return JSON.stringify(uncast(value, r("FindInstancesBridgeRequest")), null, 2);
|
|
369
198
|
}
|
|
370
199
|
static toFindInstancesBridgeResponse(json) {
|
|
371
|
-
return cast(JSON.parse(json), r(
|
|
200
|
+
return cast(JSON.parse(json), r("FindInstancesBridgeResponse"));
|
|
372
201
|
}
|
|
373
202
|
static findInstancesBridgeResponseToJson(value) {
|
|
374
|
-
return JSON.stringify(uncast(value, r(
|
|
203
|
+
return JSON.stringify(uncast(value, r("FindInstancesBridgeResponse")), null, 2);
|
|
375
204
|
}
|
|
376
205
|
static toFindIntentAgentErrorResponse(json) {
|
|
377
|
-
return cast(JSON.parse(json), r(
|
|
206
|
+
return cast(JSON.parse(json), r("FindIntentAgentErrorResponse"));
|
|
378
207
|
}
|
|
379
208
|
static findIntentAgentErrorResponseToJson(value) {
|
|
380
|
-
return JSON.stringify(uncast(value, r(
|
|
209
|
+
return JSON.stringify(uncast(value, r("FindIntentAgentErrorResponse")), null, 2);
|
|
381
210
|
}
|
|
382
211
|
static toFindIntentAgentRequest(json) {
|
|
383
|
-
return cast(JSON.parse(json), r(
|
|
212
|
+
return cast(JSON.parse(json), r("FindIntentAgentRequest"));
|
|
384
213
|
}
|
|
385
214
|
static findIntentAgentRequestToJson(value) {
|
|
386
|
-
return JSON.stringify(uncast(value, r(
|
|
215
|
+
return JSON.stringify(uncast(value, r("FindIntentAgentRequest")), null, 2);
|
|
387
216
|
}
|
|
388
217
|
static toFindIntentAgentResponse(json) {
|
|
389
|
-
return cast(JSON.parse(json), r(
|
|
218
|
+
return cast(JSON.parse(json), r("FindIntentAgentResponse"));
|
|
390
219
|
}
|
|
391
220
|
static findIntentAgentResponseToJson(value) {
|
|
392
|
-
return JSON.stringify(uncast(value, r(
|
|
221
|
+
return JSON.stringify(uncast(value, r("FindIntentAgentResponse")), null, 2);
|
|
393
222
|
}
|
|
394
223
|
static toFindIntentBridgeErrorResponse(json) {
|
|
395
|
-
return cast(JSON.parse(json), r(
|
|
224
|
+
return cast(JSON.parse(json), r("FindIntentBridgeErrorResponse"));
|
|
396
225
|
}
|
|
397
226
|
static findIntentBridgeErrorResponseToJson(value) {
|
|
398
|
-
return JSON.stringify(uncast(value, r(
|
|
227
|
+
return JSON.stringify(uncast(value, r("FindIntentBridgeErrorResponse")), null, 2);
|
|
399
228
|
}
|
|
400
229
|
static toFindIntentBridgeRequest(json) {
|
|
401
|
-
return cast(JSON.parse(json), r(
|
|
230
|
+
return cast(JSON.parse(json), r("FindIntentBridgeRequest"));
|
|
402
231
|
}
|
|
403
232
|
static findIntentBridgeRequestToJson(value) {
|
|
404
|
-
return JSON.stringify(uncast(value, r(
|
|
233
|
+
return JSON.stringify(uncast(value, r("FindIntentBridgeRequest")), null, 2);
|
|
405
234
|
}
|
|
406
235
|
static toFindIntentBridgeResponse(json) {
|
|
407
|
-
return cast(JSON.parse(json), r(
|
|
236
|
+
return cast(JSON.parse(json), r("FindIntentBridgeResponse"));
|
|
408
237
|
}
|
|
409
238
|
static findIntentBridgeResponseToJson(value) {
|
|
410
|
-
return JSON.stringify(uncast(value, r(
|
|
239
|
+
return JSON.stringify(uncast(value, r("FindIntentBridgeResponse")), null, 2);
|
|
411
240
|
}
|
|
412
241
|
static toFindIntentsByContextAgentErrorResponse(json) {
|
|
413
|
-
return cast(JSON.parse(json), r(
|
|
242
|
+
return cast(JSON.parse(json), r("FindIntentsByContextAgentErrorResponse"));
|
|
414
243
|
}
|
|
415
244
|
static findIntentsByContextAgentErrorResponseToJson(value) {
|
|
416
|
-
return JSON.stringify(uncast(value, r(
|
|
245
|
+
return JSON.stringify(uncast(value, r("FindIntentsByContextAgentErrorResponse")), null, 2);
|
|
417
246
|
}
|
|
418
247
|
static toFindIntentsByContextAgentRequest(json) {
|
|
419
|
-
return cast(JSON.parse(json), r(
|
|
248
|
+
return cast(JSON.parse(json), r("FindIntentsByContextAgentRequest"));
|
|
420
249
|
}
|
|
421
250
|
static findIntentsByContextAgentRequestToJson(value) {
|
|
422
|
-
return JSON.stringify(uncast(value, r(
|
|
251
|
+
return JSON.stringify(uncast(value, r("FindIntentsByContextAgentRequest")), null, 2);
|
|
423
252
|
}
|
|
424
253
|
static toFindIntentsByContextAgentResponse(json) {
|
|
425
|
-
return cast(JSON.parse(json), r(
|
|
254
|
+
return cast(JSON.parse(json), r("FindIntentsByContextAgentResponse"));
|
|
426
255
|
}
|
|
427
256
|
static findIntentsByContextAgentResponseToJson(value) {
|
|
428
|
-
return JSON.stringify(uncast(value, r(
|
|
257
|
+
return JSON.stringify(uncast(value, r("FindIntentsByContextAgentResponse")), null, 2);
|
|
429
258
|
}
|
|
430
259
|
static toFindIntentsByContextBridgeErrorResponse(json) {
|
|
431
|
-
return cast(JSON.parse(json), r(
|
|
260
|
+
return cast(JSON.parse(json), r("FindIntentsByContextBridgeErrorResponse"));
|
|
432
261
|
}
|
|
433
262
|
static findIntentsByContextBridgeErrorResponseToJson(value) {
|
|
434
|
-
return JSON.stringify(uncast(value, r(
|
|
263
|
+
return JSON.stringify(uncast(value, r("FindIntentsByContextBridgeErrorResponse")), null, 2);
|
|
435
264
|
}
|
|
436
265
|
static toFindIntentsByContextBridgeRequest(json) {
|
|
437
|
-
return cast(JSON.parse(json), r(
|
|
266
|
+
return cast(JSON.parse(json), r("FindIntentsByContextBridgeRequest"));
|
|
438
267
|
}
|
|
439
268
|
static findIntentsByContextBridgeRequestToJson(value) {
|
|
440
|
-
return JSON.stringify(uncast(value, r(
|
|
269
|
+
return JSON.stringify(uncast(value, r("FindIntentsByContextBridgeRequest")), null, 2);
|
|
441
270
|
}
|
|
442
271
|
static toFindIntentsByContextBridgeResponse(json) {
|
|
443
|
-
return cast(JSON.parse(json), r(
|
|
272
|
+
return cast(JSON.parse(json), r("FindIntentsByContextBridgeResponse"));
|
|
444
273
|
}
|
|
445
274
|
static findIntentsByContextBridgeResponseToJson(value) {
|
|
446
|
-
return JSON.stringify(uncast(value, r(
|
|
275
|
+
return JSON.stringify(uncast(value, r("FindIntentsByContextBridgeResponse")), null, 2);
|
|
447
276
|
}
|
|
448
277
|
static toGetAppMetadataAgentErrorResponse(json) {
|
|
449
|
-
return cast(JSON.parse(json), r(
|
|
278
|
+
return cast(JSON.parse(json), r("GetAppMetadataAgentErrorResponse"));
|
|
450
279
|
}
|
|
451
280
|
static getAppMetadataAgentErrorResponseToJson(value) {
|
|
452
|
-
return JSON.stringify(uncast(value, r(
|
|
281
|
+
return JSON.stringify(uncast(value, r("GetAppMetadataAgentErrorResponse")), null, 2);
|
|
453
282
|
}
|
|
454
283
|
static toGetAppMetadataAgentRequest(json) {
|
|
455
|
-
return cast(JSON.parse(json), r(
|
|
284
|
+
return cast(JSON.parse(json), r("GetAppMetadataAgentRequest"));
|
|
456
285
|
}
|
|
457
286
|
static getAppMetadataAgentRequestToJson(value) {
|
|
458
|
-
return JSON.stringify(uncast(value, r(
|
|
287
|
+
return JSON.stringify(uncast(value, r("GetAppMetadataAgentRequest")), null, 2);
|
|
459
288
|
}
|
|
460
289
|
static toGetAppMetadataAgentResponse(json) {
|
|
461
|
-
return cast(JSON.parse(json), r(
|
|
290
|
+
return cast(JSON.parse(json), r("GetAppMetadataAgentResponse"));
|
|
462
291
|
}
|
|
463
292
|
static getAppMetadataAgentResponseToJson(value) {
|
|
464
|
-
return JSON.stringify(uncast(value, r(
|
|
293
|
+
return JSON.stringify(uncast(value, r("GetAppMetadataAgentResponse")), null, 2);
|
|
465
294
|
}
|
|
466
295
|
static toGetAppMetadataBridgeErrorResponse(json) {
|
|
467
|
-
return cast(JSON.parse(json), r(
|
|
296
|
+
return cast(JSON.parse(json), r("GetAppMetadataBridgeErrorResponse"));
|
|
468
297
|
}
|
|
469
298
|
static getAppMetadataBridgeErrorResponseToJson(value) {
|
|
470
|
-
return JSON.stringify(uncast(value, r(
|
|
299
|
+
return JSON.stringify(uncast(value, r("GetAppMetadataBridgeErrorResponse")), null, 2);
|
|
471
300
|
}
|
|
472
301
|
static toGetAppMetadataBridgeRequest(json) {
|
|
473
|
-
return cast(JSON.parse(json), r(
|
|
302
|
+
return cast(JSON.parse(json), r("GetAppMetadataBridgeRequest"));
|
|
474
303
|
}
|
|
475
304
|
static getAppMetadataBridgeRequestToJson(value) {
|
|
476
|
-
return JSON.stringify(uncast(value, r(
|
|
305
|
+
return JSON.stringify(uncast(value, r("GetAppMetadataBridgeRequest")), null, 2);
|
|
477
306
|
}
|
|
478
307
|
static toGetAppMetadataBridgeResponse(json) {
|
|
479
|
-
return cast(JSON.parse(json), r(
|
|
308
|
+
return cast(JSON.parse(json), r("GetAppMetadataBridgeResponse"));
|
|
480
309
|
}
|
|
481
310
|
static getAppMetadataBridgeResponseToJson(value) {
|
|
482
|
-
return JSON.stringify(uncast(value, r(
|
|
311
|
+
return JSON.stringify(uncast(value, r("GetAppMetadataBridgeResponse")), null, 2);
|
|
483
312
|
}
|
|
484
313
|
static toOpenAgentErrorResponse(json) {
|
|
485
|
-
return cast(JSON.parse(json), r(
|
|
314
|
+
return cast(JSON.parse(json), r("OpenAgentErrorResponse"));
|
|
486
315
|
}
|
|
487
316
|
static openAgentErrorResponseToJson(value) {
|
|
488
|
-
return JSON.stringify(uncast(value, r(
|
|
317
|
+
return JSON.stringify(uncast(value, r("OpenAgentErrorResponse")), null, 2);
|
|
489
318
|
}
|
|
490
319
|
static toOpenAgentRequest(json) {
|
|
491
|
-
return cast(JSON.parse(json), r(
|
|
320
|
+
return cast(JSON.parse(json), r("OpenAgentRequest"));
|
|
492
321
|
}
|
|
493
322
|
static openAgentRequestToJson(value) {
|
|
494
|
-
return JSON.stringify(uncast(value, r(
|
|
323
|
+
return JSON.stringify(uncast(value, r("OpenAgentRequest")), null, 2);
|
|
495
324
|
}
|
|
496
325
|
static toOpenAgentResponse(json) {
|
|
497
|
-
return cast(JSON.parse(json), r(
|
|
326
|
+
return cast(JSON.parse(json), r("OpenAgentResponse"));
|
|
498
327
|
}
|
|
499
328
|
static openAgentResponseToJson(value) {
|
|
500
|
-
return JSON.stringify(uncast(value, r(
|
|
329
|
+
return JSON.stringify(uncast(value, r("OpenAgentResponse")), null, 2);
|
|
501
330
|
}
|
|
502
331
|
static toOpenBridgeErrorResponse(json) {
|
|
503
|
-
return cast(JSON.parse(json), r(
|
|
332
|
+
return cast(JSON.parse(json), r("OpenBridgeErrorResponse"));
|
|
504
333
|
}
|
|
505
334
|
static openBridgeErrorResponseToJson(value) {
|
|
506
|
-
return JSON.stringify(uncast(value, r(
|
|
335
|
+
return JSON.stringify(uncast(value, r("OpenBridgeErrorResponse")), null, 2);
|
|
507
336
|
}
|
|
508
337
|
static toOpenBridgeRequest(json) {
|
|
509
|
-
return cast(JSON.parse(json), r(
|
|
338
|
+
return cast(JSON.parse(json), r("OpenBridgeRequest"));
|
|
510
339
|
}
|
|
511
340
|
static openBridgeRequestToJson(value) {
|
|
512
|
-
return JSON.stringify(uncast(value, r(
|
|
341
|
+
return JSON.stringify(uncast(value, r("OpenBridgeRequest")), null, 2);
|
|
513
342
|
}
|
|
514
343
|
static toOpenBridgeResponse(json) {
|
|
515
|
-
return cast(JSON.parse(json), r(
|
|
344
|
+
return cast(JSON.parse(json), r("OpenBridgeResponse"));
|
|
516
345
|
}
|
|
517
346
|
static openBridgeResponseToJson(value) {
|
|
518
|
-
return JSON.stringify(uncast(value, r(
|
|
347
|
+
return JSON.stringify(uncast(value, r("OpenBridgeResponse")), null, 2);
|
|
519
348
|
}
|
|
520
349
|
static toPrivateChannelBroadcastAgentRequest(json) {
|
|
521
|
-
return cast(JSON.parse(json), r(
|
|
350
|
+
return cast(JSON.parse(json), r("PrivateChannelBroadcastAgentRequest"));
|
|
522
351
|
}
|
|
523
352
|
static privateChannelBroadcastAgentRequestToJson(value) {
|
|
524
|
-
return JSON.stringify(uncast(value, r(
|
|
353
|
+
return JSON.stringify(uncast(value, r("PrivateChannelBroadcastAgentRequest")), null, 2);
|
|
525
354
|
}
|
|
526
355
|
static toPrivateChannelBroadcastBridgeRequest(json) {
|
|
527
|
-
return cast(JSON.parse(json), r(
|
|
356
|
+
return cast(JSON.parse(json), r("PrivateChannelBroadcastBridgeRequest"));
|
|
528
357
|
}
|
|
529
358
|
static privateChannelBroadcastBridgeRequestToJson(value) {
|
|
530
|
-
return JSON.stringify(uncast(value, r(
|
|
359
|
+
return JSON.stringify(uncast(value, r("PrivateChannelBroadcastBridgeRequest")), null, 2);
|
|
531
360
|
}
|
|
532
361
|
static toPrivateChannelEventListenerAddedAgentRequest(json) {
|
|
533
|
-
return cast(JSON.parse(json), r(
|
|
362
|
+
return cast(JSON.parse(json), r("PrivateChannelEventListenerAddedAgentRequest"));
|
|
534
363
|
}
|
|
535
364
|
static privateChannelEventListenerAddedAgentRequestToJson(value) {
|
|
536
|
-
return JSON.stringify(uncast(value, r(
|
|
365
|
+
return JSON.stringify(uncast(value, r("PrivateChannelEventListenerAddedAgentRequest")), null, 2);
|
|
537
366
|
}
|
|
538
367
|
static toPrivateChannelEventListenerAddedBridgeRequest(json) {
|
|
539
|
-
return cast(JSON.parse(json), r(
|
|
368
|
+
return cast(JSON.parse(json), r("PrivateChannelEventListenerAddedBridgeRequest"));
|
|
540
369
|
}
|
|
541
370
|
static privateChannelEventListenerAddedBridgeRequestToJson(value) {
|
|
542
|
-
return JSON.stringify(uncast(value, r(
|
|
371
|
+
return JSON.stringify(uncast(value, r("PrivateChannelEventListenerAddedBridgeRequest")), null, 2);
|
|
543
372
|
}
|
|
544
373
|
static toPrivateChannelEventListenerRemovedAgentRequest(json) {
|
|
545
|
-
return cast(JSON.parse(json), r(
|
|
374
|
+
return cast(JSON.parse(json), r("PrivateChannelEventListenerRemovedAgentRequest"));
|
|
546
375
|
}
|
|
547
376
|
static privateChannelEventListenerRemovedAgentRequestToJson(value) {
|
|
548
|
-
return JSON.stringify(uncast(value, r(
|
|
377
|
+
return JSON.stringify(uncast(value, r("PrivateChannelEventListenerRemovedAgentRequest")), null, 2);
|
|
549
378
|
}
|
|
550
379
|
static toPrivateChannelEventListenerRemovedBridgeRequest(json) {
|
|
551
|
-
return cast(JSON.parse(json), r(
|
|
380
|
+
return cast(JSON.parse(json), r("PrivateChannelEventListenerRemovedBridgeRequest"));
|
|
552
381
|
}
|
|
553
382
|
static privateChannelEventListenerRemovedBridgeRequestToJson(value) {
|
|
554
|
-
return JSON.stringify(uncast(value, r(
|
|
383
|
+
return JSON.stringify(uncast(value, r("PrivateChannelEventListenerRemovedBridgeRequest")), null, 2);
|
|
555
384
|
}
|
|
556
385
|
static toPrivateChannelOnAddContextListenerAgentRequest(json) {
|
|
557
|
-
return cast(JSON.parse(json), r(
|
|
386
|
+
return cast(JSON.parse(json), r("PrivateChannelOnAddContextListenerAgentRequest"));
|
|
558
387
|
}
|
|
559
388
|
static privateChannelOnAddContextListenerAgentRequestToJson(value) {
|
|
560
|
-
return JSON.stringify(uncast(value, r(
|
|
389
|
+
return JSON.stringify(uncast(value, r("PrivateChannelOnAddContextListenerAgentRequest")), null, 2);
|
|
561
390
|
}
|
|
562
391
|
static toPrivateChannelOnAddContextListenerBridgeRequest(json) {
|
|
563
|
-
return cast(JSON.parse(json), r(
|
|
392
|
+
return cast(JSON.parse(json), r("PrivateChannelOnAddContextListenerBridgeRequest"));
|
|
564
393
|
}
|
|
565
394
|
static privateChannelOnAddContextListenerBridgeRequestToJson(value) {
|
|
566
|
-
return JSON.stringify(uncast(value, r(
|
|
395
|
+
return JSON.stringify(uncast(value, r("PrivateChannelOnAddContextListenerBridgeRequest")), null, 2);
|
|
567
396
|
}
|
|
568
397
|
static toPrivateChannelOnDisconnectAgentRequest(json) {
|
|
569
|
-
return cast(JSON.parse(json), r(
|
|
398
|
+
return cast(JSON.parse(json), r("PrivateChannelOnDisconnectAgentRequest"));
|
|
570
399
|
}
|
|
571
400
|
static privateChannelOnDisconnectAgentRequestToJson(value) {
|
|
572
|
-
return JSON.stringify(uncast(value, r(
|
|
401
|
+
return JSON.stringify(uncast(value, r("PrivateChannelOnDisconnectAgentRequest")), null, 2);
|
|
573
402
|
}
|
|
574
403
|
static toPrivateChannelOnDisconnectBridgeRequest(json) {
|
|
575
|
-
return cast(JSON.parse(json), r(
|
|
404
|
+
return cast(JSON.parse(json), r("PrivateChannelOnDisconnectBridgeRequest"));
|
|
576
405
|
}
|
|
577
406
|
static privateChannelOnDisconnectBridgeRequestToJson(value) {
|
|
578
|
-
return JSON.stringify(uncast(value, r(
|
|
407
|
+
return JSON.stringify(uncast(value, r("PrivateChannelOnDisconnectBridgeRequest")), null, 2);
|
|
579
408
|
}
|
|
580
409
|
static toPrivateChannelOnUnsubscribeAgentRequest(json) {
|
|
581
|
-
return cast(JSON.parse(json), r(
|
|
410
|
+
return cast(JSON.parse(json), r("PrivateChannelOnUnsubscribeAgentRequest"));
|
|
582
411
|
}
|
|
583
412
|
static privateChannelOnUnsubscribeAgentRequestToJson(value) {
|
|
584
|
-
return JSON.stringify(uncast(value, r(
|
|
413
|
+
return JSON.stringify(uncast(value, r("PrivateChannelOnUnsubscribeAgentRequest")), null, 2);
|
|
585
414
|
}
|
|
586
415
|
static toPrivateChannelOnUnsubscribeBridgeRequest(json) {
|
|
587
|
-
return cast(JSON.parse(json), r(
|
|
416
|
+
return cast(JSON.parse(json), r("PrivateChannelOnUnsubscribeBridgeRequest"));
|
|
588
417
|
}
|
|
589
418
|
static privateChannelOnUnsubscribeBridgeRequestToJson(value) {
|
|
590
|
-
return JSON.stringify(uncast(value, r(
|
|
419
|
+
return JSON.stringify(uncast(value, r("PrivateChannelOnUnsubscribeBridgeRequest")), null, 2);
|
|
591
420
|
}
|
|
592
421
|
static toRaiseIntentAgentErrorResponse(json) {
|
|
593
|
-
return cast(JSON.parse(json), r(
|
|
422
|
+
return cast(JSON.parse(json), r("RaiseIntentAgentErrorResponse"));
|
|
594
423
|
}
|
|
595
424
|
static raiseIntentAgentErrorResponseToJson(value) {
|
|
596
|
-
return JSON.stringify(uncast(value, r(
|
|
425
|
+
return JSON.stringify(uncast(value, r("RaiseIntentAgentErrorResponse")), null, 2);
|
|
597
426
|
}
|
|
598
427
|
static toRaiseIntentAgentRequest(json) {
|
|
599
|
-
return cast(JSON.parse(json), r(
|
|
428
|
+
return cast(JSON.parse(json), r("RaiseIntentAgentRequest"));
|
|
600
429
|
}
|
|
601
430
|
static raiseIntentAgentRequestToJson(value) {
|
|
602
|
-
return JSON.stringify(uncast(value, r(
|
|
431
|
+
return JSON.stringify(uncast(value, r("RaiseIntentAgentRequest")), null, 2);
|
|
603
432
|
}
|
|
604
433
|
static toRaiseIntentAgentResponse(json) {
|
|
605
|
-
return cast(JSON.parse(json), r(
|
|
434
|
+
return cast(JSON.parse(json), r("RaiseIntentAgentResponse"));
|
|
606
435
|
}
|
|
607
436
|
static raiseIntentAgentResponseToJson(value) {
|
|
608
|
-
return JSON.stringify(uncast(value, r(
|
|
437
|
+
return JSON.stringify(uncast(value, r("RaiseIntentAgentResponse")), null, 2);
|
|
609
438
|
}
|
|
610
439
|
static toRaiseIntentBridgeErrorResponse(json) {
|
|
611
|
-
return cast(JSON.parse(json), r(
|
|
440
|
+
return cast(JSON.parse(json), r("RaiseIntentBridgeErrorResponse"));
|
|
612
441
|
}
|
|
613
442
|
static raiseIntentBridgeErrorResponseToJson(value) {
|
|
614
|
-
return JSON.stringify(uncast(value, r(
|
|
443
|
+
return JSON.stringify(uncast(value, r("RaiseIntentBridgeErrorResponse")), null, 2);
|
|
615
444
|
}
|
|
616
445
|
static toRaiseIntentBridgeRequest(json) {
|
|
617
|
-
return cast(JSON.parse(json), r(
|
|
446
|
+
return cast(JSON.parse(json), r("RaiseIntentBridgeRequest"));
|
|
618
447
|
}
|
|
619
448
|
static raiseIntentBridgeRequestToJson(value) {
|
|
620
|
-
return JSON.stringify(uncast(value, r(
|
|
449
|
+
return JSON.stringify(uncast(value, r("RaiseIntentBridgeRequest")), null, 2);
|
|
621
450
|
}
|
|
622
451
|
static toRaiseIntentBridgeResponse(json) {
|
|
623
|
-
return cast(JSON.parse(json), r(
|
|
452
|
+
return cast(JSON.parse(json), r("RaiseIntentBridgeResponse"));
|
|
624
453
|
}
|
|
625
454
|
static raiseIntentBridgeResponseToJson(value) {
|
|
626
|
-
return JSON.stringify(uncast(value, r(
|
|
455
|
+
return JSON.stringify(uncast(value, r("RaiseIntentBridgeResponse")), null, 2);
|
|
627
456
|
}
|
|
628
457
|
static toRaiseIntentResultAgentErrorResponse(json) {
|
|
629
|
-
return cast(JSON.parse(json), r(
|
|
458
|
+
return cast(JSON.parse(json), r("RaiseIntentResultAgentErrorResponse"));
|
|
630
459
|
}
|
|
631
460
|
static raiseIntentResultAgentErrorResponseToJson(value) {
|
|
632
|
-
return JSON.stringify(uncast(value, r(
|
|
461
|
+
return JSON.stringify(uncast(value, r("RaiseIntentResultAgentErrorResponse")), null, 2);
|
|
633
462
|
}
|
|
634
463
|
static toRaiseIntentResultAgentResponse(json) {
|
|
635
|
-
return cast(JSON.parse(json), r(
|
|
464
|
+
return cast(JSON.parse(json), r("RaiseIntentResultAgentResponse"));
|
|
636
465
|
}
|
|
637
466
|
static raiseIntentResultAgentResponseToJson(value) {
|
|
638
|
-
return JSON.stringify(uncast(value, r(
|
|
467
|
+
return JSON.stringify(uncast(value, r("RaiseIntentResultAgentResponse")), null, 2);
|
|
639
468
|
}
|
|
640
469
|
static toRaiseIntentResultBridgeErrorResponse(json) {
|
|
641
|
-
return cast(JSON.parse(json), r(
|
|
470
|
+
return cast(JSON.parse(json), r("RaiseIntentResultBridgeErrorResponse"));
|
|
642
471
|
}
|
|
643
472
|
static raiseIntentResultBridgeErrorResponseToJson(value) {
|
|
644
|
-
return JSON.stringify(uncast(value, r(
|
|
473
|
+
return JSON.stringify(uncast(value, r("RaiseIntentResultBridgeErrorResponse")), null, 2);
|
|
645
474
|
}
|
|
646
475
|
static toRaiseIntentResultBridgeResponse(json) {
|
|
647
|
-
return cast(JSON.parse(json), r(
|
|
476
|
+
return cast(JSON.parse(json), r("RaiseIntentResultBridgeResponse"));
|
|
648
477
|
}
|
|
649
478
|
static raiseIntentResultBridgeResponseToJson(value) {
|
|
650
|
-
return JSON.stringify(uncast(value, r(
|
|
479
|
+
return JSON.stringify(uncast(value, r("RaiseIntentResultBridgeResponse")), null, 2);
|
|
651
480
|
}
|
|
652
481
|
static toContext(json) {
|
|
653
|
-
return cast(JSON.parse(json), r(
|
|
482
|
+
return cast(JSON.parse(json), r("Context"));
|
|
654
483
|
}
|
|
655
484
|
static contextToJson(value) {
|
|
656
|
-
return JSON.stringify(uncast(value, r(
|
|
485
|
+
return JSON.stringify(uncast(value, r("Context")), null, 2);
|
|
657
486
|
}
|
|
658
487
|
}
|
|
659
488
|
function invalidValue(typ, val, key, parent = '') {
|
|
@@ -668,14 +497,10 @@ function prettyTypeName(typ) {
|
|
|
668
497
|
return `an optional ${prettyTypeName(typ[1])}`;
|
|
669
498
|
}
|
|
670
499
|
else {
|
|
671
|
-
return `one of [${typ
|
|
672
|
-
.map(a => {
|
|
673
|
-
return prettyTypeName(a);
|
|
674
|
-
})
|
|
675
|
-
.join(', ')}]`;
|
|
500
|
+
return `one of [${typ.map(a => { return prettyTypeName(a); }).join(", ")}]`;
|
|
676
501
|
}
|
|
677
502
|
}
|
|
678
|
-
else if (typeof typ ===
|
|
503
|
+
else if (typeof typ === "object" && typ.literal !== undefined) {
|
|
679
504
|
return typ.literal;
|
|
680
505
|
}
|
|
681
506
|
else {
|
|
@@ -685,7 +510,7 @@ function prettyTypeName(typ) {
|
|
|
685
510
|
function jsonToJSProps(typ) {
|
|
686
511
|
if (typ.jsonToJS === undefined) {
|
|
687
512
|
const map = {};
|
|
688
|
-
typ.props.forEach((p) =>
|
|
513
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
689
514
|
typ.jsonToJS = map;
|
|
690
515
|
}
|
|
691
516
|
return typ.jsonToJS;
|
|
@@ -693,7 +518,7 @@ function jsonToJSProps(typ) {
|
|
|
693
518
|
function jsToJSONProps(typ) {
|
|
694
519
|
if (typ.jsToJSON === undefined) {
|
|
695
520
|
const map = {};
|
|
696
|
-
typ.props.forEach((p) =>
|
|
521
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
697
522
|
typ.jsToJSON = map;
|
|
698
523
|
}
|
|
699
524
|
return typ.jsToJSON;
|
|
@@ -719,14 +544,12 @@ function transform(val, typ, getProps, key = '', parent = '') {
|
|
|
719
544
|
function transformEnum(cases, val) {
|
|
720
545
|
if (cases.indexOf(val) !== -1)
|
|
721
546
|
return val;
|
|
722
|
-
return invalidValue(cases.map(a => {
|
|
723
|
-
return l(a);
|
|
724
|
-
}), val, key, parent);
|
|
547
|
+
return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
|
|
725
548
|
}
|
|
726
549
|
function transformArray(typ, val) {
|
|
727
550
|
// val must be an array with no invalid elements
|
|
728
551
|
if (!Array.isArray(val))
|
|
729
|
-
return invalidValue(l(
|
|
552
|
+
return invalidValue(l("array"), val, key, parent);
|
|
730
553
|
return val.map(el => transform(el, typ, getProps));
|
|
731
554
|
}
|
|
732
555
|
function transformDate(val) {
|
|
@@ -735,13 +558,13 @@ function transform(val, typ, getProps, key = '', parent = '') {
|
|
|
735
558
|
}
|
|
736
559
|
const d = new Date(val);
|
|
737
560
|
if (isNaN(d.valueOf())) {
|
|
738
|
-
return invalidValue(l(
|
|
561
|
+
return invalidValue(l("Date"), val, key, parent);
|
|
739
562
|
}
|
|
740
563
|
return d;
|
|
741
564
|
}
|
|
742
565
|
function transformObject(props, additional, val) {
|
|
743
|
-
if (val === null || typeof val !==
|
|
744
|
-
return invalidValue(l(ref ||
|
|
566
|
+
if (val === null || typeof val !== "object" || Array.isArray(val)) {
|
|
567
|
+
return invalidValue(l(ref || "object"), val, key, parent);
|
|
745
568
|
}
|
|
746
569
|
const result = {};
|
|
747
570
|
Object.getOwnPropertyNames(props).forEach(key => {
|
|
@@ -756,7 +579,7 @@ function transform(val, typ, getProps, key = '', parent = '') {
|
|
|
756
579
|
});
|
|
757
580
|
return result;
|
|
758
581
|
}
|
|
759
|
-
if (typ ===
|
|
582
|
+
if (typ === "any")
|
|
760
583
|
return val;
|
|
761
584
|
if (typ === null) {
|
|
762
585
|
if (val === null)
|
|
@@ -766,23 +589,20 @@ function transform(val, typ, getProps, key = '', parent = '') {
|
|
|
766
589
|
if (typ === false)
|
|
767
590
|
return invalidValue(typ, val, key, parent);
|
|
768
591
|
let ref = undefined;
|
|
769
|
-
while (typeof typ ===
|
|
592
|
+
while (typeof typ === "object" && typ.ref !== undefined) {
|
|
770
593
|
ref = typ.ref;
|
|
771
594
|
typ = typeMap[typ.ref];
|
|
772
595
|
}
|
|
773
596
|
if (Array.isArray(typ))
|
|
774
597
|
return transformEnum(typ, val);
|
|
775
|
-
if (typeof typ ===
|
|
776
|
-
return typ.hasOwnProperty(
|
|
777
|
-
?
|
|
778
|
-
|
|
779
|
-
? transformArray(typ.arrayItems, val)
|
|
780
|
-
: typ.hasOwnProperty('props')
|
|
781
|
-
? transformObject(getProps(typ), typ.additional, val)
|
|
598
|
+
if (typeof typ === "object") {
|
|
599
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val)
|
|
600
|
+
: typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val)
|
|
601
|
+
: typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val)
|
|
782
602
|
: invalidValue(typ, val, key, parent);
|
|
783
603
|
}
|
|
784
604
|
// Numbers can be parsed by Date but shouldn't be.
|
|
785
|
-
if (typ === Date && typeof val !==
|
|
605
|
+
if (typ === Date && typeof val !== "number")
|
|
786
606
|
return transformDate(val);
|
|
787
607
|
return transformPrimitive(typ, val);
|
|
788
608
|
}
|
|
@@ -811,1061 +631,1227 @@ function r(name) {
|
|
|
811
631
|
return { ref: name };
|
|
812
632
|
}
|
|
813
633
|
const typeMap = {
|
|
814
|
-
|
|
815
|
-
{ json:
|
|
816
|
-
{ json:
|
|
817
|
-
{ json:
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
{ json:
|
|
822
|
-
{ json:
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
{ json:
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
{ json:
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
{ json:
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
{ json:
|
|
845
|
-
{ json:
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
{ json:
|
|
850
|
-
{ json:
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
{ json:
|
|
855
|
-
{ json:
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
{ json:
|
|
860
|
-
{ json:
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
{ json:
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
{ json:
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
{ json:
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
{ json:
|
|
878
|
-
{ json:
|
|
879
|
-
{ json:
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
{ json:
|
|
884
|
-
{ json:
|
|
885
|
-
{ json:
|
|
886
|
-
], false),
|
|
887
|
-
|
|
888
|
-
{ json:
|
|
889
|
-
{ json:
|
|
890
|
-
{ json:
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
{ json:
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
{ json:
|
|
897
|
-
{ json:
|
|
898
|
-
{ json:
|
|
899
|
-
], false),
|
|
900
|
-
|
|
901
|
-
{ json:
|
|
902
|
-
{ json:
|
|
903
|
-
{ json:
|
|
904
|
-
], false),
|
|
905
|
-
|
|
906
|
-
{ json:
|
|
907
|
-
{ json:
|
|
908
|
-
{ json:
|
|
909
|
-
],
|
|
910
|
-
|
|
911
|
-
{ json:
|
|
912
|
-
{ json:
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
{ json:
|
|
917
|
-
{ json:
|
|
918
|
-
],
|
|
919
|
-
|
|
920
|
-
{ json:
|
|
921
|
-
{ json:
|
|
922
|
-
{ json:
|
|
923
|
-
],
|
|
924
|
-
|
|
925
|
-
{ json:
|
|
926
|
-
{ json:
|
|
927
|
-
{ json:
|
|
928
|
-
], false),
|
|
929
|
-
|
|
930
|
-
{ json:
|
|
931
|
-
{ json:
|
|
932
|
-
{ json:
|
|
933
|
-
],
|
|
934
|
-
|
|
935
|
-
{ json:
|
|
936
|
-
{ json:
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
{ json:
|
|
941
|
-
{ json:
|
|
942
|
-
], false),
|
|
943
|
-
|
|
944
|
-
{ json:
|
|
945
|
-
{ json:
|
|
946
|
-
{ json:
|
|
947
|
-
], false),
|
|
948
|
-
|
|
949
|
-
{ json:
|
|
950
|
-
{ json:
|
|
951
|
-
{ json:
|
|
952
|
-
], false),
|
|
953
|
-
|
|
954
|
-
{ json:
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
{ json:
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
{ json:
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
{ json:
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
{ json:
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
{ json:
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
{ json:
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
{ json:
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
{ json:
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
{ json:
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
{ json:
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
{ json:
|
|
1000
|
-
], false),
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
{ json:
|
|
1004
|
-
{ json:
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
{ json:
|
|
1009
|
-
{ json:
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
{ json:
|
|
1014
|
-
{ json:
|
|
1015
|
-
{ json:
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
{ json:
|
|
1020
|
-
{ json:
|
|
1021
|
-
{ json:
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
{ json:
|
|
1026
|
-
{ json:
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
{ json:
|
|
1031
|
-
{ json:
|
|
1032
|
-
{ json:
|
|
1033
|
-
], false),
|
|
1034
|
-
|
|
1035
|
-
{ json:
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
{ json:
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
{ json:
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
{ json:
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
{ json:
|
|
1055
|
-
], false),
|
|
1056
|
-
|
|
1057
|
-
{ json:
|
|
1058
|
-
{ json:
|
|
1059
|
-
{ json:
|
|
1060
|
-
],
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
{ json:
|
|
1064
|
-
{ json:
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
{ json:
|
|
1068
|
-
{ json:
|
|
1069
|
-
{ json:
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
{ json:
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
{ json:
|
|
1078
|
-
{ json:
|
|
1079
|
-
{ json:
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
{ json:
|
|
1083
|
-
{ json:
|
|
1084
|
-
{ json:
|
|
1085
|
-
{ json:
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
{ json:
|
|
1090
|
-
{ json:
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
{ json:
|
|
1095
|
-
{ json:
|
|
1096
|
-
{ json:
|
|
1097
|
-
{ json:
|
|
1098
|
-
], false),
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
{ json:
|
|
1102
|
-
{ json:
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
{ json:
|
|
1107
|
-
{ json:
|
|
1108
|
-
{ json:
|
|
1109
|
-
{ json:
|
|
1110
|
-
], false),
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
{ json:
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
{ json:
|
|
1121
|
-
{ json:
|
|
1122
|
-
{ json:
|
|
1123
|
-
{ json:
|
|
1124
|
-
], false),
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
{ json:
|
|
1128
|
-
{ json:
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
{ json:
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
{ json:
|
|
1140
|
-
{ json:
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
{ json:
|
|
1144
|
-
{ json:
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
{ json:
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
{ json:
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
{ json:
|
|
1161
|
-
], false),
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
{ json:
|
|
1165
|
-
{ json:
|
|
1166
|
-
], false),
|
|
1167
|
-
|
|
1168
|
-
{ json:
|
|
1169
|
-
{ json:
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
{ json:
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
{ json:
|
|
1180
|
-
{ json:
|
|
1181
|
-
{ json:
|
|
1182
|
-
], false),
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
{ json:
|
|
1186
|
-
{ json:
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
{ json:
|
|
1193
|
-
{ json:
|
|
1194
|
-
], false),
|
|
1195
|
-
|
|
1196
|
-
{ json:
|
|
1197
|
-
{ json:
|
|
1198
|
-
], false),
|
|
1199
|
-
|
|
1200
|
-
{ json:
|
|
1201
|
-
{ json:
|
|
1202
|
-
{ json:
|
|
1203
|
-
], false),
|
|
1204
|
-
|
|
1205
|
-
{ json:
|
|
1206
|
-
{ json:
|
|
1207
|
-
{ json:
|
|
1208
|
-
{ json:
|
|
1209
|
-
{ json:
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
{ json:
|
|
1216
|
-
{ json:
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
{ json:
|
|
1221
|
-
{ json:
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
{ json:
|
|
1227
|
-
{ json:
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
{ json:
|
|
1232
|
-
{ json:
|
|
1233
|
-
{ json:
|
|
1234
|
-
], false),
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
{ json:
|
|
1238
|
-
{ json:
|
|
1239
|
-
{ json:
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
{ json:
|
|
1245
|
-
], false),
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
{ json:
|
|
1249
|
-
{ json:
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
{ json:
|
|
1254
|
-
{ json:
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
{ json:
|
|
1258
|
-
], false),
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
{ json:
|
|
1262
|
-
{ json:
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
{ json:
|
|
1267
|
-
{ json:
|
|
1268
|
-
{ json:
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
{ json:
|
|
1275
|
-
{ json:
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
{ json:
|
|
1280
|
-
{ json:
|
|
1281
|
-
{ json:
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
{ json:
|
|
1288
|
-
{ json:
|
|
1289
|
-
{ json:
|
|
1290
|
-
], false),
|
|
1291
|
-
|
|
1292
|
-
{ json:
|
|
1293
|
-
{ json:
|
|
1294
|
-
{ json:
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
{ json:
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
{ json:
|
|
1304
|
-
{ json:
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
{ json:
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
{ json:
|
|
1317
|
-
{ json:
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
{ json:
|
|
1322
|
-
{ json:
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
{ json:
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
{ json:
|
|
1333
|
-
{ json:
|
|
1334
|
-
{ json:
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
{ json:
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
{ json:
|
|
1346
|
-
{ json:
|
|
1347
|
-
{ json:
|
|
1348
|
-
], false),
|
|
1349
|
-
|
|
1350
|
-
{ json:
|
|
1351
|
-
{ json:
|
|
1352
|
-
{ json:
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
{ json:
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
{ json:
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
{ json:
|
|
1365
|
-
{ json:
|
|
1366
|
-
{ json:
|
|
1367
|
-
], false),
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
{ json:
|
|
1371
|
-
{ json:
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
{ json:
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
{ json:
|
|
1383
|
-
{ json:
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
{ json:
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
{ json:
|
|
1390
|
-
], false),
|
|
1391
|
-
|
|
1392
|
-
{ json:
|
|
1393
|
-
{ json:
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
{ json:
|
|
1398
|
-
{ json:
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
{ json:
|
|
1404
|
-
], false),
|
|
1405
|
-
|
|
1406
|
-
{ json:
|
|
1407
|
-
{ json:
|
|
1408
|
-
{ json:
|
|
1409
|
-
], false),
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
{ json:
|
|
1413
|
-
{ json:
|
|
1414
|
-
{ json:
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
{ json:
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
{ json:
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
{ json:
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
{ json:
|
|
1437
|
-
{ json:
|
|
1438
|
-
], false),
|
|
1439
|
-
|
|
1440
|
-
{ json:
|
|
1441
|
-
{ json:
|
|
1442
|
-
{ json:
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
{ json:
|
|
1447
|
-
{ json:
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
{ json:
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
{ json:
|
|
1456
|
-
{ json:
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
{ json:
|
|
1461
|
-
{ json:
|
|
1462
|
-
{ json:
|
|
1463
|
-
], false),
|
|
1464
|
-
|
|
1465
|
-
{ json:
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
{ json:
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
{ json:
|
|
1475
|
-
{ json:
|
|
1476
|
-
{ json:
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
{ json:
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
{ json:
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
{ json:
|
|
1490
|
-
{ json:
|
|
1491
|
-
{ json:
|
|
1492
|
-
], false),
|
|
1493
|
-
|
|
1494
|
-
{ json:
|
|
1495
|
-
{ json:
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
{ json:
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
{ json:
|
|
1505
|
-
{ json:
|
|
1506
|
-
{ json:
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
{ json:
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
{ json:
|
|
1516
|
-
{ json:
|
|
1517
|
-
], false),
|
|
1518
|
-
|
|
1519
|
-
{ json:
|
|
1520
|
-
{ json:
|
|
1521
|
-
{ json:
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
{ json:
|
|
1526
|
-
{ json:
|
|
1527
|
-
{ json:
|
|
1528
|
-
],
|
|
1529
|
-
|
|
1530
|
-
{ json:
|
|
1531
|
-
{ json:
|
|
1532
|
-
], false),
|
|
1533
|
-
|
|
1534
|
-
{ json:
|
|
1535
|
-
{ json:
|
|
1536
|
-
{ json:
|
|
1537
|
-
], false),
|
|
1538
|
-
|
|
1539
|
-
{ json:
|
|
1540
|
-
{ json:
|
|
1541
|
-
{ json:
|
|
1542
|
-
{ json:
|
|
1543
|
-
], false),
|
|
1544
|
-
|
|
1545
|
-
{ json:
|
|
1546
|
-
{ json:
|
|
1547
|
-
], false),
|
|
1548
|
-
|
|
1549
|
-
{ json:
|
|
1550
|
-
{ json:
|
|
1551
|
-
{ json:
|
|
1552
|
-
], false),
|
|
1553
|
-
|
|
1554
|
-
{ json:
|
|
1555
|
-
{ json:
|
|
1556
|
-
{ json:
|
|
1557
|
-
{ json:
|
|
1558
|
-
], false),
|
|
1559
|
-
|
|
1560
|
-
{ json:
|
|
1561
|
-
{ json:
|
|
1562
|
-
], false),
|
|
1563
|
-
|
|
1564
|
-
{ json:
|
|
1565
|
-
{ json:
|
|
1566
|
-
{ json:
|
|
1567
|
-
], false),
|
|
1568
|
-
|
|
1569
|
-
{ json:
|
|
1570
|
-
{ json:
|
|
1571
|
-
{ json:
|
|
1572
|
-
{ json:
|
|
1573
|
-
], false),
|
|
1574
|
-
|
|
1575
|
-
{ json:
|
|
1576
|
-
{ json:
|
|
1577
|
-
], false),
|
|
1578
|
-
|
|
1579
|
-
{ json:
|
|
1580
|
-
{ json:
|
|
1581
|
-
{ json:
|
|
1582
|
-
], false),
|
|
1583
|
-
|
|
1584
|
-
{ json:
|
|
1585
|
-
{ json:
|
|
1586
|
-
{ json:
|
|
1587
|
-
{ json:
|
|
1588
|
-
], false),
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
{ json:
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
{ json:
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
{ json:
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
{ json:
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
{ json:
|
|
1610
|
-
{ json:
|
|
1611
|
-
{ json:
|
|
1612
|
-
], false),
|
|
1613
|
-
|
|
1614
|
-
{ json:
|
|
1615
|
-
{ json:
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
{ json:
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
{ json:
|
|
1625
|
-
{ json:
|
|
1626
|
-
{ json:
|
|
1627
|
-
], false),
|
|
1628
|
-
|
|
1629
|
-
{ json:
|
|
1630
|
-
{ json:
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
{ json:
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
{ json:
|
|
1640
|
-
{ json:
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
{ json:
|
|
1645
|
-
{ json:
|
|
1646
|
-
{ json:
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
{ json:
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
{ json:
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
{ json:
|
|
1661
|
-
{ json:
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
{ json:
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
{ json:
|
|
1673
|
-
{ json:
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
{ json:
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
{ json:
|
|
1683
|
-
{ json:
|
|
1684
|
-
{ json:
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
{ json:
|
|
1690
|
-
{ json:
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
{ json:
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
{ json:
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
{ json:
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
{ json:
|
|
1708
|
-
], false),
|
|
1709
|
-
|
|
1710
|
-
{ json:
|
|
1711
|
-
{ json:
|
|
1712
|
-
{ json:
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
{ json:
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
{ json:
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
{ json:
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
{ json:
|
|
1732
|
-
{ json:
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
{ json:
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
{ json:
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
{ json:
|
|
1746
|
-
{ json:
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
{ json:
|
|
1751
|
-
{ json:
|
|
1752
|
-
{ json:
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
{ json:
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
{ json:
|
|
1761
|
-
{ json:
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
{ json:
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
{ json:
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
{ json:
|
|
1776
|
-
{ json:
|
|
1777
|
-
{ json:
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
{ json:
|
|
1783
|
-
{ json:
|
|
1784
|
-
{ json:
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
634
|
+
"AgentErrorResponseMessage": o([
|
|
635
|
+
{ json: "meta", js: "meta", typ: r("AgentResponseMetadata") },
|
|
636
|
+
{ json: "payload", js: "payload", typ: r("ErrorResponseMessagePayload") },
|
|
637
|
+
{ json: "type", js: "type", typ: r("ResponseMessageType") },
|
|
638
|
+
], false),
|
|
639
|
+
"AgentResponseMetadata": o([
|
|
640
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
641
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
642
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
643
|
+
], false),
|
|
644
|
+
"ErrorResponseMessagePayload": o([
|
|
645
|
+
{ json: "error", js: "error", typ: r("ResponseErrorDetail") },
|
|
646
|
+
], "any"),
|
|
647
|
+
"AgentRequestMessage": o([
|
|
648
|
+
{ json: "meta", js: "meta", typ: r("AgentRequestMetadata") },
|
|
649
|
+
{ json: "payload", js: "payload", typ: m("any") },
|
|
650
|
+
{ json: "type", js: "type", typ: r("RequestMessageType") },
|
|
651
|
+
], false),
|
|
652
|
+
"AgentRequestMetadata": o([
|
|
653
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
|
|
654
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
655
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
|
|
656
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
657
|
+
], false),
|
|
658
|
+
"BridgeParticipantIdentifier": o([
|
|
659
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
660
|
+
{ json: "appId", js: "appId", typ: u(undefined, "") },
|
|
661
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
662
|
+
], "any"),
|
|
663
|
+
"SourceIdentifier": o([
|
|
664
|
+
{ json: "appId", js: "appId", typ: u(undefined, "") },
|
|
665
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
|
|
666
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
667
|
+
], "any"),
|
|
668
|
+
"AgentResponseMessage": o([
|
|
669
|
+
{ json: "meta", js: "meta", typ: r("AgentResponseMetadata") },
|
|
670
|
+
{ json: "payload", js: "payload", typ: m("any") },
|
|
671
|
+
{ json: "type", js: "type", typ: r("ResponseMessageType") },
|
|
672
|
+
], false),
|
|
673
|
+
"BridgeErrorResponseMessage": o([
|
|
674
|
+
{ json: "meta", js: "meta", typ: r("BridgeErrorResponseMessageMeta") },
|
|
675
|
+
{ json: "payload", js: "payload", typ: r("ResponseErrorMessagePayload") },
|
|
676
|
+
{ json: "type", js: "type", typ: "" },
|
|
677
|
+
], false),
|
|
678
|
+
"BridgeErrorResponseMessageMeta": o([
|
|
679
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
680
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
681
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
682
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
683
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
684
|
+
], false),
|
|
685
|
+
"DesktopAgentIdentifier": o([
|
|
686
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
687
|
+
], "any"),
|
|
688
|
+
"ResponseErrorMessagePayload": o([
|
|
689
|
+
{ json: "error", js: "error", typ: u(undefined, r("ResponseErrorDetail")) },
|
|
690
|
+
], "any"),
|
|
691
|
+
"BridgeRequestMessage": o([
|
|
692
|
+
{ json: "meta", js: "meta", typ: r("BridgeRequestMetadata") },
|
|
693
|
+
{ json: "payload", js: "payload", typ: m("any") },
|
|
694
|
+
{ json: "type", js: "type", typ: "" },
|
|
695
|
+
], false),
|
|
696
|
+
"BridgeRequestMetadata": o([
|
|
697
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
|
|
698
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
699
|
+
{ json: "source", js: "source", typ: r("BridgeParticipantIdentifier") },
|
|
700
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
701
|
+
], false),
|
|
702
|
+
"BridgeResponseMessage": o([
|
|
703
|
+
{ json: "meta", js: "meta", typ: r("BridgeResponseMessageMeta") },
|
|
704
|
+
{ json: "payload", js: "payload", typ: m("any") },
|
|
705
|
+
{ json: "type", js: "type", typ: "" },
|
|
706
|
+
], false),
|
|
707
|
+
"BridgeResponseMessageMeta": o([
|
|
708
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
709
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
710
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
711
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
712
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
713
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
714
|
+
], false),
|
|
715
|
+
"BroadcastAgentRequest": o([
|
|
716
|
+
{ json: "meta", js: "meta", typ: r("BroadcastAgentRequestMeta") },
|
|
717
|
+
{ json: "payload", js: "payload", typ: r("BroadcastAgentRequestPayload") },
|
|
718
|
+
{ json: "type", js: "type", typ: r("BroadcastAgentRequestType") },
|
|
719
|
+
], false),
|
|
720
|
+
"BroadcastAgentRequestMeta": o([
|
|
721
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
722
|
+
{ json: "source", js: "source", typ: r("SourceObject") },
|
|
723
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
724
|
+
], false),
|
|
725
|
+
"SourceObject": o([
|
|
726
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
727
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
|
|
728
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
729
|
+
], "any"),
|
|
730
|
+
"BroadcastAgentRequestPayload": o([
|
|
731
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
732
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
733
|
+
], false),
|
|
734
|
+
"ContextElement": o([
|
|
735
|
+
{ json: "id", js: "id", typ: u(undefined, m("any")) },
|
|
736
|
+
{ json: "name", js: "name", typ: u(undefined, "") },
|
|
737
|
+
{ json: "type", js: "type", typ: "" },
|
|
738
|
+
], "any"),
|
|
739
|
+
"BroadcastBridgeRequest": o([
|
|
740
|
+
{ json: "meta", js: "meta", typ: r("BroadcastBridgeRequestMeta") },
|
|
741
|
+
{ json: "payload", js: "payload", typ: r("BroadcastBridgeRequestPayload") },
|
|
742
|
+
{ json: "type", js: "type", typ: r("BroadcastAgentRequestType") },
|
|
743
|
+
], false),
|
|
744
|
+
"BroadcastBridgeRequestMeta": o([
|
|
745
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
746
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
747
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
748
|
+
], false),
|
|
749
|
+
"MetaSource": o([
|
|
750
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
751
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
752
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
753
|
+
], "any"),
|
|
754
|
+
"BroadcastBridgeRequestPayload": o([
|
|
755
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
756
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
757
|
+
], false),
|
|
758
|
+
"ConnectionStepMessage": o([
|
|
759
|
+
{ json: "meta", js: "meta", typ: r("ConnectionStepMetadata") },
|
|
760
|
+
{ json: "payload", js: "payload", typ: m("any") },
|
|
761
|
+
{ json: "type", js: "type", typ: r("ConnectionStepMessageType") },
|
|
762
|
+
], false),
|
|
763
|
+
"ConnectionStepMetadata": o([
|
|
764
|
+
{ json: "requestUuid", js: "requestUuid", typ: u(undefined, "") },
|
|
765
|
+
{ json: "responseUuid", js: "responseUuid", typ: u(undefined, "") },
|
|
766
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
767
|
+
], false),
|
|
768
|
+
"ConnectionStep2Hello": o([
|
|
769
|
+
{ json: "meta", js: "meta", typ: r("ConnectionStep2HelloMeta") },
|
|
770
|
+
{ json: "payload", js: "payload", typ: r("ConnectionStep2HelloPayload") },
|
|
771
|
+
{ json: "type", js: "type", typ: r("ConnectionStep2HelloType") },
|
|
772
|
+
], false),
|
|
773
|
+
"ConnectionStep2HelloMeta": o([
|
|
774
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
775
|
+
], false),
|
|
776
|
+
"ConnectionStep2HelloPayload": o([
|
|
777
|
+
{ json: "authRequired", js: "authRequired", typ: true },
|
|
778
|
+
{ json: "authToken", js: "authToken", typ: u(undefined, "") },
|
|
779
|
+
{ json: "desktopAgentBridgeVersion", js: "desktopAgentBridgeVersion", typ: "" },
|
|
780
|
+
{ json: "supportedFDC3Versions", js: "supportedFDC3Versions", typ: a("") },
|
|
781
|
+
], false),
|
|
782
|
+
"ConnectionStep3Handshake": o([
|
|
783
|
+
{ json: "meta", js: "meta", typ: r("ConnectionStep3HandshakeMeta") },
|
|
784
|
+
{ json: "payload", js: "payload", typ: r("ConnectionStep3HandshakePayload") },
|
|
785
|
+
{ json: "type", js: "type", typ: r("ConnectionStep3HandshakeType") },
|
|
786
|
+
], false),
|
|
787
|
+
"ConnectionStep3HandshakeMeta": o([
|
|
788
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
789
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
790
|
+
], false),
|
|
791
|
+
"ConnectionStep3HandshakePayload": o([
|
|
792
|
+
{ json: "authToken", js: "authToken", typ: u(undefined, "") },
|
|
793
|
+
{ json: "channelsState", js: "channelsState", typ: m(a(r("ContextElement"))) },
|
|
794
|
+
{ json: "implementationMetadata", js: "implementationMetadata", typ: r("ConnectingAgentImplementationMetadata") },
|
|
795
|
+
{ json: "requestedName", js: "requestedName", typ: "" },
|
|
796
|
+
], false),
|
|
797
|
+
"ConnectingAgentImplementationMetadata": o([
|
|
798
|
+
{ json: "fdc3Version", js: "fdc3Version", typ: "" },
|
|
799
|
+
{ json: "optionalFeatures", js: "optionalFeatures", typ: r("OptionalFeatures") },
|
|
800
|
+
{ json: "provider", js: "provider", typ: "" },
|
|
801
|
+
{ json: "providerVersion", js: "providerVersion", typ: u(undefined, "") },
|
|
802
|
+
], false),
|
|
803
|
+
"OptionalFeatures": o([
|
|
804
|
+
{ json: "DesktopAgentBridging", js: "DesktopAgentBridging", typ: true },
|
|
805
|
+
{ json: "OriginatingAppMetadata", js: "OriginatingAppMetadata", typ: true },
|
|
806
|
+
{ json: "UserChannelMembershipAPIs", js: "UserChannelMembershipAPIs", typ: true },
|
|
807
|
+
], false),
|
|
808
|
+
"ConnectionStep4AuthenticationFailed": o([
|
|
809
|
+
{ json: "meta", js: "meta", typ: r("ConnectionStep4AuthenticationFailedMeta") },
|
|
810
|
+
{ json: "payload", js: "payload", typ: r("ConnectionStep4AuthenticationFailedPayload") },
|
|
811
|
+
{ json: "type", js: "type", typ: r("ConnectionStep4AuthenticationFailedType") },
|
|
812
|
+
], false),
|
|
813
|
+
"ConnectionStep4AuthenticationFailedMeta": o([
|
|
814
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
815
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
816
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
817
|
+
], false),
|
|
818
|
+
"ConnectionStep4AuthenticationFailedPayload": o([
|
|
819
|
+
{ json: "message", js: "message", typ: u(undefined, "") },
|
|
820
|
+
], false),
|
|
821
|
+
"ConnectionStep6ConnectedAgentsUpdate": o([
|
|
822
|
+
{ json: "meta", js: "meta", typ: r("ConnectionStep6ConnectedAgentsUpdateMeta") },
|
|
823
|
+
{ json: "payload", js: "payload", typ: r("ConnectionStep6ConnectedAgentsUpdatePayload") },
|
|
824
|
+
{ json: "type", js: "type", typ: r("ConnectionStep6ConnectedAgentsUpdateType") },
|
|
825
|
+
], false),
|
|
826
|
+
"ConnectionStep6ConnectedAgentsUpdateMeta": o([
|
|
827
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
828
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
829
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
830
|
+
], false),
|
|
831
|
+
"ConnectionStep6ConnectedAgentsUpdatePayload": o([
|
|
832
|
+
{ json: "addAgent", js: "addAgent", typ: u(undefined, "") },
|
|
833
|
+
{ json: "allAgents", js: "allAgents", typ: a(r("DesktopAgentImplementationMetadata")) },
|
|
834
|
+
{ json: "channelsState", js: "channelsState", typ: u(undefined, m(a(r("ContextElement")))) },
|
|
835
|
+
{ json: "removeAgent", js: "removeAgent", typ: u(undefined, "") },
|
|
836
|
+
], false),
|
|
837
|
+
"DesktopAgentImplementationMetadata": o([
|
|
838
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
839
|
+
{ json: "fdc3Version", js: "fdc3Version", typ: "" },
|
|
840
|
+
{ json: "optionalFeatures", js: "optionalFeatures", typ: r("OptionalFeatures") },
|
|
841
|
+
{ json: "provider", js: "provider", typ: "" },
|
|
842
|
+
{ json: "providerVersion", js: "providerVersion", typ: u(undefined, "") },
|
|
843
|
+
], false),
|
|
844
|
+
"FindInstancesAgentErrorResponse": o([
|
|
845
|
+
{ json: "meta", js: "meta", typ: r("FindInstancesAgentErrorResponseMeta") },
|
|
846
|
+
{ json: "payload", js: "payload", typ: r("FindInstancesAgentErrorResponsePayload") },
|
|
847
|
+
{ json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
|
|
848
|
+
], false),
|
|
849
|
+
"FindInstancesAgentErrorResponseMeta": o([
|
|
850
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
851
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
852
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
853
|
+
], false),
|
|
854
|
+
"FindInstancesAgentErrorResponsePayload": o([
|
|
855
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
856
|
+
], false),
|
|
857
|
+
"FindInstancesAgentRequest": o([
|
|
858
|
+
{ json: "meta", js: "meta", typ: r("FindInstancesAgentRequestMeta") },
|
|
859
|
+
{ json: "payload", js: "payload", typ: r("FindInstancesAgentRequestPayload") },
|
|
860
|
+
{ json: "type", js: "type", typ: r("FindInstancesAgentRequestType") },
|
|
861
|
+
], false),
|
|
862
|
+
"FindInstancesAgentRequestMeta": o([
|
|
863
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
|
|
864
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
865
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
|
|
866
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
867
|
+
], false),
|
|
868
|
+
"DestinationObject": o([
|
|
869
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
870
|
+
{ json: "appId", js: "appId", typ: u(undefined, "") },
|
|
871
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
872
|
+
], "any"),
|
|
873
|
+
"FindInstancesAgentRequestPayload": o([
|
|
874
|
+
{ json: "app", js: "app", typ: r("AppIdentifier") },
|
|
875
|
+
], false),
|
|
876
|
+
"AppIdentifier": o([
|
|
877
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
878
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
|
|
879
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
880
|
+
], "any"),
|
|
881
|
+
"FindInstancesAgentResponse": o([
|
|
882
|
+
{ json: "meta", js: "meta", typ: r("FindInstancesAgentResponseMeta") },
|
|
883
|
+
{ json: "payload", js: "payload", typ: r("FindInstancesAgentResponsePayload") },
|
|
884
|
+
{ json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
|
|
885
|
+
], false),
|
|
886
|
+
"FindInstancesAgentResponseMeta": o([
|
|
887
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
888
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
889
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
890
|
+
], false),
|
|
891
|
+
"FindInstancesAgentResponsePayload": o([
|
|
892
|
+
{ json: "appIdentifiers", js: "appIdentifiers", typ: a(r("AppMetadata")) },
|
|
893
|
+
], false),
|
|
894
|
+
"AppMetadata": o([
|
|
895
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
896
|
+
{ json: "description", js: "description", typ: u(undefined, "") },
|
|
897
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: u(undefined, "") },
|
|
898
|
+
{ json: "icons", js: "icons", typ: u(undefined, a(r("Icon"))) },
|
|
899
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
900
|
+
{ json: "instanceMetadata", js: "instanceMetadata", typ: u(undefined, m("any")) },
|
|
901
|
+
{ json: "name", js: "name", typ: u(undefined, "") },
|
|
902
|
+
{ json: "resultType", js: "resultType", typ: u(undefined, u(null, "")) },
|
|
903
|
+
{ json: "screenshots", js: "screenshots", typ: u(undefined, a(r("Image"))) },
|
|
904
|
+
{ json: "title", js: "title", typ: u(undefined, "") },
|
|
905
|
+
{ json: "tooltip", js: "tooltip", typ: u(undefined, "") },
|
|
906
|
+
{ json: "version", js: "version", typ: u(undefined, "") },
|
|
907
|
+
], false),
|
|
908
|
+
"Icon": o([
|
|
909
|
+
{ json: "size", js: "size", typ: u(undefined, "") },
|
|
910
|
+
{ json: "src", js: "src", typ: "" },
|
|
911
|
+
{ json: "type", js: "type", typ: u(undefined, "") },
|
|
912
|
+
], false),
|
|
913
|
+
"Image": o([
|
|
914
|
+
{ json: "label", js: "label", typ: u(undefined, "") },
|
|
915
|
+
{ json: "size", js: "size", typ: u(undefined, "") },
|
|
916
|
+
{ json: "src", js: "src", typ: "" },
|
|
917
|
+
{ json: "type", js: "type", typ: u(undefined, "") },
|
|
918
|
+
], false),
|
|
919
|
+
"FindInstancesBridgeErrorResponse": o([
|
|
920
|
+
{ json: "meta", js: "meta", typ: r("FindInstancesBridgeErrorResponseMeta") },
|
|
921
|
+
{ json: "payload", js: "payload", typ: r("FindInstancesBridgeErrorResponsePayload") },
|
|
922
|
+
{ json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
|
|
923
|
+
], false),
|
|
924
|
+
"FindInstancesBridgeErrorResponseMeta": o([
|
|
925
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
926
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
927
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
928
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
929
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
930
|
+
], false),
|
|
931
|
+
"FindInstancesBridgeErrorResponsePayload": o([
|
|
932
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
933
|
+
], false),
|
|
934
|
+
"FindInstancesBridgeRequest": o([
|
|
935
|
+
{ json: "meta", js: "meta", typ: r("FindInstancesBridgeRequestMeta") },
|
|
936
|
+
{ json: "payload", js: "payload", typ: r("FindInstancesBridgeRequestPayload") },
|
|
937
|
+
{ json: "type", js: "type", typ: r("FindInstancesAgentRequestType") },
|
|
938
|
+
], false),
|
|
939
|
+
"FindInstancesBridgeRequestMeta": o([
|
|
940
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
|
|
941
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
942
|
+
{ json: "source", js: "source", typ: r("MetaSourceObject") },
|
|
943
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
944
|
+
], false),
|
|
945
|
+
"MetaSourceObject": o([
|
|
946
|
+
{ json: "appId", js: "appId", typ: u(undefined, "") },
|
|
947
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
948
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
949
|
+
], "any"),
|
|
950
|
+
"FindInstancesBridgeRequestPayload": o([
|
|
951
|
+
{ json: "app", js: "app", typ: r("AppIdentifier") },
|
|
952
|
+
], false),
|
|
953
|
+
"FindInstancesBridgeResponse": o([
|
|
954
|
+
{ json: "meta", js: "meta", typ: r("FindInstancesBridgeResponseMeta") },
|
|
955
|
+
{ json: "payload", js: "payload", typ: r("FindInstancesBridgeResponsePayload") },
|
|
956
|
+
{ json: "type", js: "type", typ: r("FindInstancesAgentErrorResponseType") },
|
|
957
|
+
], false),
|
|
958
|
+
"FindInstancesBridgeResponseMeta": o([
|
|
959
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
960
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
961
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
962
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
963
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
964
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
965
|
+
], false),
|
|
966
|
+
"FindInstancesBridgeResponsePayload": o([
|
|
967
|
+
{ json: "appIdentifiers", js: "appIdentifiers", typ: a(r("AppMetadata")) },
|
|
968
|
+
], false),
|
|
969
|
+
"FindIntentAgentErrorResponse": o([
|
|
970
|
+
{ json: "meta", js: "meta", typ: r("FindIntentAgentErrorResponseMeta") },
|
|
971
|
+
{ json: "payload", js: "payload", typ: r("FindIntentAgentErrorResponsePayload") },
|
|
972
|
+
{ json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
|
|
973
|
+
], false),
|
|
974
|
+
"FindIntentAgentErrorResponseMeta": o([
|
|
975
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
976
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
977
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
978
|
+
], false),
|
|
979
|
+
"FindIntentAgentErrorResponsePayload": o([
|
|
980
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
981
|
+
], false),
|
|
982
|
+
"FindIntentAgentRequest": o([
|
|
983
|
+
{ json: "meta", js: "meta", typ: r("FindIntentAgentRequestMeta") },
|
|
984
|
+
{ json: "payload", js: "payload", typ: r("FindIntentAgentRequestPayload") },
|
|
985
|
+
{ json: "type", js: "type", typ: r("FindIntentAgentRequestType") },
|
|
986
|
+
], false),
|
|
987
|
+
"FindIntentAgentRequestMeta": o([
|
|
988
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
989
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
|
|
990
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
991
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
|
|
992
|
+
], false),
|
|
993
|
+
"FindIntentAgentRequestPayload": o([
|
|
994
|
+
{ json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
|
|
995
|
+
{ json: "intent", js: "intent", typ: "" },
|
|
996
|
+
{ json: "resultType", js: "resultType", typ: u(undefined, "") },
|
|
997
|
+
], false),
|
|
998
|
+
"FindIntentAgentResponse": o([
|
|
999
|
+
{ json: "meta", js: "meta", typ: r("FindIntentAgentResponseMeta") },
|
|
1000
|
+
{ json: "payload", js: "payload", typ: r("FindIntentAgentResponsePayload") },
|
|
1001
|
+
{ json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
|
|
1002
|
+
], false),
|
|
1003
|
+
"FindIntentAgentResponseMeta": o([
|
|
1004
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1005
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1006
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1007
|
+
], false),
|
|
1008
|
+
"FindIntentAgentResponsePayload": o([
|
|
1009
|
+
{ json: "appIntent", js: "appIntent", typ: r("AppIntent") },
|
|
1010
|
+
], false),
|
|
1011
|
+
"AppIntent": o([
|
|
1012
|
+
{ json: "apps", js: "apps", typ: a(r("AppMetadata")) },
|
|
1013
|
+
{ json: "intent", js: "intent", typ: r("IntentMetadata") },
|
|
1014
|
+
], false),
|
|
1015
|
+
"IntentMetadata": o([
|
|
1016
|
+
{ json: "displayName", js: "displayName", typ: "" },
|
|
1017
|
+
{ json: "name", js: "name", typ: "" },
|
|
1018
|
+
], false),
|
|
1019
|
+
"FindIntentBridgeErrorResponse": o([
|
|
1020
|
+
{ json: "meta", js: "meta", typ: r("FindIntentBridgeErrorResponseMeta") },
|
|
1021
|
+
{ json: "payload", js: "payload", typ: r("FindIntentBridgeErrorResponsePayload") },
|
|
1022
|
+
{ json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
|
|
1023
|
+
], false),
|
|
1024
|
+
"FindIntentBridgeErrorResponseMeta": o([
|
|
1025
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
1026
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
1027
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1028
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1029
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1030
|
+
], false),
|
|
1031
|
+
"FindIntentBridgeErrorResponsePayload": o([
|
|
1032
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1033
|
+
], false),
|
|
1034
|
+
"FindIntentBridgeRequest": o([
|
|
1035
|
+
{ json: "meta", js: "meta", typ: r("FindIntentBridgeRequestMeta") },
|
|
1036
|
+
{ json: "payload", js: "payload", typ: r("FindIntentBridgeRequestPayload") },
|
|
1037
|
+
{ json: "type", js: "type", typ: r("FindIntentAgentRequestType") },
|
|
1038
|
+
], false),
|
|
1039
|
+
"FindIntentBridgeRequestMeta": o([
|
|
1040
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1041
|
+
{ json: "source", js: "source", typ: r("BridgeParticipantIdentifier") },
|
|
1042
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1043
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
|
|
1044
|
+
], false),
|
|
1045
|
+
"FindIntentBridgeRequestPayload": o([
|
|
1046
|
+
{ json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
|
|
1047
|
+
{ json: "intent", js: "intent", typ: "" },
|
|
1048
|
+
{ json: "resultType", js: "resultType", typ: u(undefined, "") },
|
|
1049
|
+
], false),
|
|
1050
|
+
"FindIntentBridgeResponse": o([
|
|
1051
|
+
{ json: "meta", js: "meta", typ: r("FindIntentBridgeResponseMeta") },
|
|
1052
|
+
{ json: "payload", js: "payload", typ: r("FindIntentBridgeResponsePayload") },
|
|
1053
|
+
{ json: "type", js: "type", typ: r("FindIntentAgentErrorResponseType") },
|
|
1054
|
+
], false),
|
|
1055
|
+
"FindIntentBridgeResponseMeta": o([
|
|
1056
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
1057
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1058
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1059
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1060
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1061
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1062
|
+
], false),
|
|
1063
|
+
"FindIntentBridgeResponsePayload": o([
|
|
1064
|
+
{ json: "appIntent", js: "appIntent", typ: r("AppIntent") },
|
|
1065
|
+
], false),
|
|
1066
|
+
"FindIntentsByContextAgentErrorResponse": o([
|
|
1067
|
+
{ json: "meta", js: "meta", typ: r("FindIntentsByContextAgentErrorResponseMeta") },
|
|
1068
|
+
{ json: "payload", js: "payload", typ: r("FindIntentsByContextAgentErrorResponsePayload") },
|
|
1069
|
+
{ json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
|
|
1070
|
+
], false),
|
|
1071
|
+
"FindIntentsByContextAgentErrorResponseMeta": o([
|
|
1072
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1073
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1074
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1075
|
+
], false),
|
|
1076
|
+
"FindIntentsByContextAgentErrorResponsePayload": o([
|
|
1077
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1078
|
+
], false),
|
|
1079
|
+
"FindIntentsByContextAgentRequest": o([
|
|
1080
|
+
{ json: "meta", js: "meta", typ: r("FindIntentsByContextAgentRequestMeta") },
|
|
1081
|
+
{ json: "payload", js: "payload", typ: r("FindIntentsByContextAgentRequestPayload") },
|
|
1082
|
+
{ json: "type", js: "type", typ: r("FindIntentsByContextAgentRequestType") },
|
|
1083
|
+
], false),
|
|
1084
|
+
"FindIntentsByContextAgentRequestMeta": o([
|
|
1085
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1086
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1087
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1088
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
|
|
1089
|
+
], false),
|
|
1090
|
+
"FindIntentsByContextAgentRequestPayload": o([
|
|
1091
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
1092
|
+
], false),
|
|
1093
|
+
"FindIntentsByContextAgentResponse": o([
|
|
1094
|
+
{ json: "meta", js: "meta", typ: r("FindIntentsByContextAgentResponseMeta") },
|
|
1095
|
+
{ json: "payload", js: "payload", typ: r("FindIntentsByContextAgentResponsePayload") },
|
|
1096
|
+
{ json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
|
|
1097
|
+
], false),
|
|
1098
|
+
"FindIntentsByContextAgentResponseMeta": o([
|
|
1099
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1100
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1101
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1102
|
+
], false),
|
|
1103
|
+
"FindIntentsByContextAgentResponsePayload": o([
|
|
1104
|
+
{ json: "appIntents", js: "appIntents", typ: a(r("AppIntent")) },
|
|
1105
|
+
], false),
|
|
1106
|
+
"FindIntentsByContextBridgeErrorResponse": o([
|
|
1107
|
+
{ json: "meta", js: "meta", typ: r("FindIntentsByContextBridgeErrorResponseMeta") },
|
|
1108
|
+
{ json: "payload", js: "payload", typ: r("FindIntentsByContextBridgeErrorResponsePayload") },
|
|
1109
|
+
{ json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
|
|
1110
|
+
], false),
|
|
1111
|
+
"FindIntentsByContextBridgeErrorResponseMeta": o([
|
|
1112
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
1113
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
1114
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1115
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1116
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1117
|
+
], false),
|
|
1118
|
+
"FindIntentsByContextBridgeErrorResponsePayload": o([
|
|
1119
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1120
|
+
], false),
|
|
1121
|
+
"FindIntentsByContextBridgeRequest": o([
|
|
1122
|
+
{ json: "meta", js: "meta", typ: r("FindIntentsByContextBridgeRequestMeta") },
|
|
1123
|
+
{ json: "payload", js: "payload", typ: r("FindIntentsByContextBridgeRequestPayload") },
|
|
1124
|
+
{ json: "type", js: "type", typ: r("FindIntentsByContextAgentRequestType") },
|
|
1125
|
+
], false),
|
|
1126
|
+
"FindIntentsByContextBridgeRequestMeta": o([
|
|
1127
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1128
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1129
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1130
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("BridgeParticipantIdentifier")) },
|
|
1131
|
+
], false),
|
|
1132
|
+
"FindIntentsByContextBridgeRequestPayload": o([
|
|
1133
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
1134
|
+
], false),
|
|
1135
|
+
"FindIntentsByContextBridgeResponse": o([
|
|
1136
|
+
{ json: "meta", js: "meta", typ: r("FindIntentsByContextBridgeResponseMeta") },
|
|
1137
|
+
{ json: "payload", js: "payload", typ: r("FindIntentsByContextBridgeResponsePayload") },
|
|
1138
|
+
{ json: "type", js: "type", typ: r("FindIntentsByContextAgentErrorResponseType") },
|
|
1139
|
+
], false),
|
|
1140
|
+
"FindIntentsByContextBridgeResponseMeta": o([
|
|
1141
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
1142
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1143
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1144
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1145
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1146
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1147
|
+
], false),
|
|
1148
|
+
"FindIntentsByContextBridgeResponsePayload": o([
|
|
1149
|
+
{ json: "appIntents", js: "appIntents", typ: a(r("AppIntent")) },
|
|
1150
|
+
], false),
|
|
1151
|
+
"GetAppMetadataAgentErrorResponse": o([
|
|
1152
|
+
{ json: "meta", js: "meta", typ: r("GetAppMetadataAgentErrorResponseMeta") },
|
|
1153
|
+
{ json: "payload", js: "payload", typ: r("GetAppMetadataAgentErrorResponsePayload") },
|
|
1154
|
+
{ json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
|
|
1155
|
+
], false),
|
|
1156
|
+
"GetAppMetadataAgentErrorResponseMeta": o([
|
|
1157
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1158
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1159
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1160
|
+
], false),
|
|
1161
|
+
"GetAppMetadataAgentErrorResponsePayload": o([
|
|
1162
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1163
|
+
], false),
|
|
1164
|
+
"GetAppMetadataAgentRequest": o([
|
|
1165
|
+
{ json: "meta", js: "meta", typ: r("GetAppMetadataAgentRequestMeta") },
|
|
1166
|
+
{ json: "payload", js: "payload", typ: r("GetAppMetadataAgentRequestPayload") },
|
|
1167
|
+
{ json: "type", js: "type", typ: r("GetAppMetadataAgentRequestType") },
|
|
1168
|
+
], false),
|
|
1169
|
+
"GetAppMetadataAgentRequestMeta": o([
|
|
1170
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
|
|
1171
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1172
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceIdentifier")) },
|
|
1173
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1174
|
+
], false),
|
|
1175
|
+
"GetAppMetadataAgentRequestPayload": o([
|
|
1176
|
+
{ json: "app", js: "app", typ: r("AppDestinationIdentifier") },
|
|
1177
|
+
], false),
|
|
1178
|
+
"AppDestinationIdentifier": o([
|
|
1179
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
1180
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
1181
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
1182
|
+
], "any"),
|
|
1183
|
+
"GetAppMetadataAgentResponse": o([
|
|
1184
|
+
{ json: "meta", js: "meta", typ: r("GetAppMetadataAgentResponseMeta") },
|
|
1185
|
+
{ json: "payload", js: "payload", typ: r("GetAppMetadataAgentResponsePayload") },
|
|
1186
|
+
{ json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
|
|
1187
|
+
], false),
|
|
1188
|
+
"GetAppMetadataAgentResponseMeta": o([
|
|
1189
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1190
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1191
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1192
|
+
], false),
|
|
1193
|
+
"GetAppMetadataAgentResponsePayload": o([
|
|
1194
|
+
{ json: "appMetadata", js: "appMetadata", typ: r("AppMetadata") },
|
|
1195
|
+
], false),
|
|
1196
|
+
"GetAppMetadataBridgeErrorResponse": o([
|
|
1197
|
+
{ json: "meta", js: "meta", typ: r("GetAppMetadataBridgeErrorResponseMeta") },
|
|
1198
|
+
{ json: "payload", js: "payload", typ: r("GetAppMetadataBridgeErrorResponsePayload") },
|
|
1199
|
+
{ json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
|
|
1200
|
+
], false),
|
|
1201
|
+
"GetAppMetadataBridgeErrorResponseMeta": o([
|
|
1202
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
1203
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
1204
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1205
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1206
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1207
|
+
], false),
|
|
1208
|
+
"GetAppMetadataBridgeErrorResponsePayload": o([
|
|
1209
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1210
|
+
], false),
|
|
1211
|
+
"GetAppMetadataBridgeRequest": o([
|
|
1212
|
+
{ json: "meta", js: "meta", typ: r("GetAppMetadataBridgeRequestMeta") },
|
|
1213
|
+
{ json: "payload", js: "payload", typ: r("GetAppMetadataBridgeRequestPayload") },
|
|
1214
|
+
{ json: "type", js: "type", typ: r("GetAppMetadataAgentRequestType") },
|
|
1215
|
+
], false),
|
|
1216
|
+
"GetAppMetadataBridgeRequestMeta": o([
|
|
1217
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
|
|
1218
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1219
|
+
{ json: "source", js: "source", typ: r("MetaSourceObject") },
|
|
1220
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1221
|
+
], false),
|
|
1222
|
+
"GetAppMetadataBridgeRequestPayload": o([
|
|
1223
|
+
{ json: "app", js: "app", typ: r("AppDestinationIdentifier") },
|
|
1224
|
+
], false),
|
|
1225
|
+
"GetAppMetadataBridgeResponse": o([
|
|
1226
|
+
{ json: "meta", js: "meta", typ: r("GetAppMetadataBridgeResponseMeta") },
|
|
1227
|
+
{ json: "payload", js: "payload", typ: r("GetAppMetadataBridgeResponsePayload") },
|
|
1228
|
+
{ json: "type", js: "type", typ: r("GetAppMetadataAgentErrorResponseType") },
|
|
1229
|
+
], false),
|
|
1230
|
+
"GetAppMetadataBridgeResponseMeta": o([
|
|
1231
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
1232
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1233
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1234
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1235
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1236
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1237
|
+
], false),
|
|
1238
|
+
"GetAppMetadataBridgeResponsePayload": o([
|
|
1239
|
+
{ json: "appMetadata", js: "appMetadata", typ: r("AppMetadata") },
|
|
1240
|
+
], false),
|
|
1241
|
+
"OpenAgentErrorResponse": o([
|
|
1242
|
+
{ json: "meta", js: "meta", typ: r("OpenAgentErrorResponseMeta") },
|
|
1243
|
+
{ json: "payload", js: "payload", typ: r("OpenAgentErrorResponsePayload") },
|
|
1244
|
+
{ json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
|
|
1245
|
+
], false),
|
|
1246
|
+
"OpenAgentErrorResponseMeta": o([
|
|
1247
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1248
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1249
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1250
|
+
], false),
|
|
1251
|
+
"OpenAgentErrorResponsePayload": o([
|
|
1252
|
+
{ json: "error", js: "error", typ: r("OpenErrorMessage") },
|
|
1253
|
+
], false),
|
|
1254
|
+
"OpenAgentRequest": o([
|
|
1255
|
+
{ json: "meta", js: "meta", typ: r("OpenAgentRequestMeta") },
|
|
1256
|
+
{ json: "payload", js: "payload", typ: r("OpenAgentRequestPayload") },
|
|
1257
|
+
{ json: "type", js: "type", typ: r("OpenAgentRequestType") },
|
|
1258
|
+
], false),
|
|
1259
|
+
"OpenAgentRequestMeta": o([
|
|
1260
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
|
|
1261
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1262
|
+
{ json: "source", js: "source", typ: r("SourceObject") },
|
|
1263
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1264
|
+
], false),
|
|
1265
|
+
"OpenAgentRequestPayload": o([
|
|
1266
|
+
{ json: "app", js: "app", typ: r("AppToOpen") },
|
|
1267
|
+
{ json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
|
|
1268
|
+
], false),
|
|
1269
|
+
"AppToOpen": o([
|
|
1270
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
1271
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
1272
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
1273
|
+
], "any"),
|
|
1274
|
+
"OpenAgentResponse": o([
|
|
1275
|
+
{ json: "meta", js: "meta", typ: r("OpenAgentResponseMeta") },
|
|
1276
|
+
{ json: "payload", js: "payload", typ: r("OpenAgentResponsePayload") },
|
|
1277
|
+
{ json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
|
|
1278
|
+
], false),
|
|
1279
|
+
"OpenAgentResponseMeta": o([
|
|
1280
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1281
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1282
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1283
|
+
], false),
|
|
1284
|
+
"OpenAgentResponsePayload": o([
|
|
1285
|
+
{ json: "appIdentifier", js: "appIdentifier", typ: r("AppIdentifier") },
|
|
1286
|
+
], false),
|
|
1287
|
+
"OpenBridgeErrorResponse": o([
|
|
1288
|
+
{ json: "meta", js: "meta", typ: r("OpenBridgeErrorResponseMeta") },
|
|
1289
|
+
{ json: "payload", js: "payload", typ: r("OpenBridgeErrorResponsePayload") },
|
|
1290
|
+
{ json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
|
|
1291
|
+
], false),
|
|
1292
|
+
"OpenBridgeErrorResponseMeta": o([
|
|
1293
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
1294
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
1295
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1296
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1297
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1298
|
+
], false),
|
|
1299
|
+
"OpenBridgeErrorResponsePayload": o([
|
|
1300
|
+
{ json: "error", js: "error", typ: r("OpenErrorMessage") },
|
|
1301
|
+
], false),
|
|
1302
|
+
"OpenBridgeRequest": o([
|
|
1303
|
+
{ json: "meta", js: "meta", typ: r("OpenBridgeRequestMeta") },
|
|
1304
|
+
{ json: "payload", js: "payload", typ: r("OpenBridgeRequestPayload") },
|
|
1305
|
+
{ json: "type", js: "type", typ: r("OpenAgentRequestType") },
|
|
1306
|
+
], false),
|
|
1307
|
+
"OpenBridgeRequestMeta": o([
|
|
1308
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("DestinationObject")) },
|
|
1309
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1310
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1311
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1312
|
+
], false),
|
|
1313
|
+
"OpenBridgeRequestPayload": o([
|
|
1314
|
+
{ json: "app", js: "app", typ: r("AppToOpen") },
|
|
1315
|
+
{ json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
|
|
1316
|
+
], false),
|
|
1317
|
+
"OpenBridgeResponse": o([
|
|
1318
|
+
{ json: "meta", js: "meta", typ: r("OpenBridgeResponseMeta") },
|
|
1319
|
+
{ json: "payload", js: "payload", typ: r("OpenBridgeResponsePayload") },
|
|
1320
|
+
{ json: "type", js: "type", typ: r("OpenAgentErrorResponseType") },
|
|
1321
|
+
], false),
|
|
1322
|
+
"OpenBridgeResponseMeta": o([
|
|
1323
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
1324
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1325
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1326
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1327
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1328
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1329
|
+
], false),
|
|
1330
|
+
"OpenBridgeResponsePayload": o([
|
|
1331
|
+
{ json: "appIdentifier", js: "appIdentifier", typ: r("AppIdentifier") },
|
|
1332
|
+
], false),
|
|
1333
|
+
"PrivateChannelBroadcastAgentRequest": o([
|
|
1334
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelBroadcastAgentRequestMeta") },
|
|
1335
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelBroadcastAgentRequestPayload") },
|
|
1336
|
+
{ json: "type", js: "type", typ: r("PrivateChannelBroadcastAgentRequestType") },
|
|
1337
|
+
], false),
|
|
1338
|
+
"PrivateChannelBroadcastAgentRequestMeta": o([
|
|
1339
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1340
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1341
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1342
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1343
|
+
], false),
|
|
1344
|
+
"MetaDestination": o([
|
|
1345
|
+
{ json: "desktopAgent", js: "desktopAgent", typ: "" },
|
|
1346
|
+
{ json: "appId", js: "appId", typ: "" },
|
|
1347
|
+
{ json: "instanceId", js: "instanceId", typ: u(undefined, "") },
|
|
1348
|
+
], "any"),
|
|
1349
|
+
"PrivateChannelBroadcastAgentRequestPayload": o([
|
|
1350
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1351
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
1352
|
+
], false),
|
|
1353
|
+
"PrivateChannelBroadcastBridgeRequest": o([
|
|
1354
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelBroadcastBridgeRequestMeta") },
|
|
1355
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelBroadcastBridgeRequestPayload") },
|
|
1356
|
+
{ json: "type", js: "type", typ: r("PrivateChannelBroadcastAgentRequestType") },
|
|
1357
|
+
], false),
|
|
1358
|
+
"PrivateChannelBroadcastBridgeRequestMeta": o([
|
|
1359
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1360
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1361
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1362
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1363
|
+
], false),
|
|
1364
|
+
"PrivateChannelBroadcastBridgeRequestPayload": o([
|
|
1365
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1366
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
1367
|
+
], false),
|
|
1368
|
+
"PrivateChannelEventListenerAddedAgentRequest": o([
|
|
1369
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelEventListenerAddedAgentRequestMeta") },
|
|
1370
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelEventListenerAddedAgentRequestPayload") },
|
|
1371
|
+
{ json: "type", js: "type", typ: r("PrivateChannelEventListenerAddedAgentRequestType") },
|
|
1372
|
+
], false),
|
|
1373
|
+
"PrivateChannelEventListenerAddedAgentRequestMeta": o([
|
|
1374
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1375
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1376
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1377
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1378
|
+
], false),
|
|
1379
|
+
"PrivateChannelEventListenerAddedAgentRequestPayload": o([
|
|
1380
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1381
|
+
{ json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
|
|
1382
|
+
], false),
|
|
1383
|
+
"PrivateChannelEventListenerAddedBridgeRequest": o([
|
|
1384
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelEventListenerAddedBridgeRequestMeta") },
|
|
1385
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelEventListenerAddedBridgeRequestPayload") },
|
|
1386
|
+
{ json: "type", js: "type", typ: r("PrivateChannelEventListenerAddedAgentRequestType") },
|
|
1387
|
+
], false),
|
|
1388
|
+
"PrivateChannelEventListenerAddedBridgeRequestMeta": o([
|
|
1389
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1390
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1391
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1392
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1393
|
+
], false),
|
|
1394
|
+
"PrivateChannelEventListenerAddedBridgeRequestPayload": o([
|
|
1395
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1396
|
+
{ json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
|
|
1397
|
+
], false),
|
|
1398
|
+
"PrivateChannelEventListenerRemovedAgentRequest": o([
|
|
1399
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelEventListenerRemovedAgentRequestMeta") },
|
|
1400
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelEventListenerRemovedAgentRequestPayload") },
|
|
1401
|
+
{ json: "type", js: "type", typ: r("PrivateChannelEventListenerRemovedAgentRequestType") },
|
|
1402
|
+
], false),
|
|
1403
|
+
"PrivateChannelEventListenerRemovedAgentRequestMeta": o([
|
|
1404
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1405
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1406
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1407
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1408
|
+
], false),
|
|
1409
|
+
"PrivateChannelEventListenerRemovedAgentRequestPayload": o([
|
|
1410
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1411
|
+
{ json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
|
|
1412
|
+
], false),
|
|
1413
|
+
"PrivateChannelEventListenerRemovedBridgeRequest": o([
|
|
1414
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelEventListenerRemovedBridgeRequestMeta") },
|
|
1415
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelEventListenerRemovedBridgeRequestPayload") },
|
|
1416
|
+
{ json: "type", js: "type", typ: r("PrivateChannelEventListenerRemovedAgentRequestType") },
|
|
1417
|
+
], false),
|
|
1418
|
+
"PrivateChannelEventListenerRemovedBridgeRequestMeta": o([
|
|
1419
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1420
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1421
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1422
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1423
|
+
], false),
|
|
1424
|
+
"PrivateChannelEventListenerRemovedBridgeRequestPayload": o([
|
|
1425
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1426
|
+
{ json: "listenerType", js: "listenerType", typ: r("PrivateChannelEventListenerTypes") },
|
|
1427
|
+
], false),
|
|
1428
|
+
"PrivateChannelOnAddContextListenerAgentRequest": o([
|
|
1429
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelOnAddContextListenerAgentRequestMeta") },
|
|
1430
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelOnAddContextListenerAgentRequestPayload") },
|
|
1431
|
+
{ json: "type", js: "type", typ: r("PrivateChannelOnAddContextListenerAgentRequestType") },
|
|
1432
|
+
], false),
|
|
1433
|
+
"PrivateChannelOnAddContextListenerAgentRequestMeta": o([
|
|
1434
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1435
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1436
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1437
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1438
|
+
], false),
|
|
1439
|
+
"PrivateChannelOnAddContextListenerAgentRequestPayload": o([
|
|
1440
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1441
|
+
{ json: "contextType", js: "contextType", typ: u(null, "") },
|
|
1442
|
+
], false),
|
|
1443
|
+
"PrivateChannelOnAddContextListenerBridgeRequest": o([
|
|
1444
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelOnAddContextListenerBridgeRequestMeta") },
|
|
1445
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelOnAddContextListenerBridgeRequestPayload") },
|
|
1446
|
+
{ json: "type", js: "type", typ: r("PrivateChannelOnAddContextListenerAgentRequestType") },
|
|
1447
|
+
], false),
|
|
1448
|
+
"PrivateChannelOnAddContextListenerBridgeRequestMeta": o([
|
|
1449
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1450
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1451
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1452
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1453
|
+
], false),
|
|
1454
|
+
"PrivateChannelOnAddContextListenerBridgeRequestPayload": o([
|
|
1455
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1456
|
+
{ json: "contextType", js: "contextType", typ: u(null, "") },
|
|
1457
|
+
], false),
|
|
1458
|
+
"PrivateChannelOnDisconnectAgentRequest": o([
|
|
1459
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelOnDisconnectAgentRequestMeta") },
|
|
1460
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelOnDisconnectAgentRequestPayload") },
|
|
1461
|
+
{ json: "type", js: "type", typ: r("PrivateChannelOnDisconnectAgentRequestType") },
|
|
1462
|
+
], false),
|
|
1463
|
+
"PrivateChannelOnDisconnectAgentRequestMeta": o([
|
|
1464
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1465
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1466
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1467
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1468
|
+
], false),
|
|
1469
|
+
"PrivateChannelOnDisconnectAgentRequestPayload": o([
|
|
1470
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1471
|
+
], false),
|
|
1472
|
+
"PrivateChannelOnDisconnectBridgeRequest": o([
|
|
1473
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelOnDisconnectBridgeRequestMeta") },
|
|
1474
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelOnDisconnectBridgeRequestPayload") },
|
|
1475
|
+
{ json: "type", js: "type", typ: r("PrivateChannelOnDisconnectAgentRequestType") },
|
|
1476
|
+
], false),
|
|
1477
|
+
"PrivateChannelOnDisconnectBridgeRequestMeta": o([
|
|
1478
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1479
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1480
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1481
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1482
|
+
], false),
|
|
1483
|
+
"PrivateChannelOnDisconnectBridgeRequestPayload": o([
|
|
1484
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1485
|
+
], false),
|
|
1486
|
+
"PrivateChannelOnUnsubscribeAgentRequest": o([
|
|
1487
|
+
{ json: "meta", js: "meta", typ: r("PrivateChannelOnUnsubscribeAgentRequestMeta") },
|
|
1488
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelOnUnsubscribeAgentRequestPayload") },
|
|
1489
|
+
{ json: "type", js: "type", typ: r("PrivateChannelOnUnsubscribeAgentRequestType") },
|
|
1490
|
+
], false),
|
|
1491
|
+
"PrivateChannelOnUnsubscribeAgentRequestMeta": o([
|
|
1492
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1493
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1494
|
+
{ json: "source", js: "source", typ: u(undefined, r("SourceObject")) },
|
|
1495
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1496
|
+
], false),
|
|
1497
|
+
"PrivateChannelOnUnsubscribeAgentRequestPayload": o([
|
|
1498
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1499
|
+
{ json: "contextType", js: "contextType", typ: u(null, "") },
|
|
1500
|
+
], false),
|
|
1501
|
+
"PrivateChannelOnUnsubscribeBridgeRequest": o([
|
|
1502
|
+
{ json: "meta", js: "meta", typ: r("ERequestMetadata") },
|
|
1503
|
+
{ json: "payload", js: "payload", typ: r("PrivateChannelOnUnsubscribeBridgeRequestPayload") },
|
|
1504
|
+
{ json: "type", js: "type", typ: r("PrivateChannelOnUnsubscribeAgentRequestType") },
|
|
1505
|
+
], false),
|
|
1506
|
+
"ERequestMetadata": o([
|
|
1507
|
+
{ json: "destination", js: "destination", typ: u(undefined, r("MetaDestination")) },
|
|
1508
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1509
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1510
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1511
|
+
], false),
|
|
1512
|
+
"PrivateChannelOnUnsubscribeBridgeRequestPayload": o([
|
|
1513
|
+
{ json: "channelId", js: "channelId", typ: "" },
|
|
1514
|
+
{ json: "contextType", js: "contextType", typ: u(null, "") },
|
|
1515
|
+
], false),
|
|
1516
|
+
"RaiseIntentAgentErrorResponse": o([
|
|
1517
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentAgentErrorResponseMeta") },
|
|
1518
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentAgentErrorResponsePayload") },
|
|
1519
|
+
{ json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
|
|
1520
|
+
], false),
|
|
1521
|
+
"RaiseIntentAgentErrorResponseMeta": o([
|
|
1522
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1523
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1524
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1525
|
+
], false),
|
|
1526
|
+
"RaiseIntentAgentErrorResponsePayload": o([
|
|
1527
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1528
|
+
], false),
|
|
1529
|
+
"RaiseIntentAgentRequest": o([
|
|
1530
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentAgentRequestMeta") },
|
|
1531
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentAgentRequestPayload") },
|
|
1532
|
+
{ json: "type", js: "type", typ: r("RaiseIntentAgentRequestType") },
|
|
1533
|
+
], false),
|
|
1534
|
+
"RaiseIntentAgentRequestMeta": o([
|
|
1535
|
+
{ json: "destination", js: "destination", typ: r("MetaDestination") },
|
|
1536
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1537
|
+
{ json: "source", js: "source", typ: r("SourceObject") },
|
|
1538
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1539
|
+
], false),
|
|
1540
|
+
"RaiseIntentAgentRequestPayload": o([
|
|
1541
|
+
{ json: "app", js: "app", typ: r("AppDestinationIdentifier") },
|
|
1542
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
1543
|
+
{ json: "intent", js: "intent", typ: "" },
|
|
1544
|
+
], false),
|
|
1545
|
+
"RaiseIntentAgentResponse": o([
|
|
1546
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentAgentResponseMeta") },
|
|
1547
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentAgentResponsePayload") },
|
|
1548
|
+
{ json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
|
|
1549
|
+
], false),
|
|
1550
|
+
"RaiseIntentAgentResponseMeta": o([
|
|
1551
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1552
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1553
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1554
|
+
], false),
|
|
1555
|
+
"RaiseIntentAgentResponsePayload": o([
|
|
1556
|
+
{ json: "intentResolution", js: "intentResolution", typ: r("IntentResolution") },
|
|
1557
|
+
], false),
|
|
1558
|
+
"IntentResolution": o([
|
|
1559
|
+
{ json: "intent", js: "intent", typ: "" },
|
|
1560
|
+
{ json: "source", js: "source", typ: r("AppIdentifier") },
|
|
1561
|
+
{ json: "version", js: "version", typ: u(undefined, "") },
|
|
1562
|
+
], false),
|
|
1563
|
+
"RaiseIntentBridgeErrorResponse": o([
|
|
1564
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentBridgeErrorResponseMeta") },
|
|
1565
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentBridgeErrorResponsePayload") },
|
|
1566
|
+
{ json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
|
|
1567
|
+
], false),
|
|
1568
|
+
"RaiseIntentBridgeErrorResponseMeta": o([
|
|
1569
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
1570
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
1571
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1572
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1573
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1574
|
+
], false),
|
|
1575
|
+
"RaiseIntentBridgeErrorResponsePayload": o([
|
|
1576
|
+
{ json: "error", js: "error", typ: r("ErrorMessage") },
|
|
1577
|
+
], false),
|
|
1578
|
+
"RaiseIntentBridgeRequest": o([
|
|
1579
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentBridgeRequestMeta") },
|
|
1580
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentBridgeRequestPayload") },
|
|
1581
|
+
{ json: "type", js: "type", typ: r("RaiseIntentAgentRequestType") },
|
|
1582
|
+
], false),
|
|
1583
|
+
"RaiseIntentBridgeRequestMeta": o([
|
|
1584
|
+
{ json: "destination", js: "destination", typ: r("MetaDestination") },
|
|
1585
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1586
|
+
{ json: "source", js: "source", typ: r("MetaSource") },
|
|
1587
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1588
|
+
], false),
|
|
1589
|
+
"RaiseIntentBridgeRequestPayload": o([
|
|
1590
|
+
{ json: "app", js: "app", typ: r("AppDestinationIdentifier") },
|
|
1591
|
+
{ json: "context", js: "context", typ: r("ContextElement") },
|
|
1592
|
+
{ json: "intent", js: "intent", typ: "" },
|
|
1593
|
+
], false),
|
|
1594
|
+
"RaiseIntentBridgeResponse": o([
|
|
1595
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentBridgeResponseMeta") },
|
|
1596
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentBridgeResponsePayload") },
|
|
1597
|
+
{ json: "type", js: "type", typ: r("RaiseIntentAgentErrorResponseType") },
|
|
1598
|
+
], false),
|
|
1599
|
+
"RaiseIntentBridgeResponseMeta": o([
|
|
1600
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
1601
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1602
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1603
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1604
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1605
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1606
|
+
], false),
|
|
1607
|
+
"RaiseIntentBridgeResponsePayload": o([
|
|
1608
|
+
{ json: "intentResolution", js: "intentResolution", typ: r("IntentResolution") },
|
|
1609
|
+
], false),
|
|
1610
|
+
"RaiseIntentResultAgentErrorResponse": o([
|
|
1611
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentResultAgentErrorResponseMeta") },
|
|
1612
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentResultAgentErrorResponsePayload") },
|
|
1613
|
+
{ json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
|
|
1614
|
+
], false),
|
|
1615
|
+
"RaiseIntentResultAgentErrorResponseMeta": o([
|
|
1616
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1617
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1618
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1619
|
+
], false),
|
|
1620
|
+
"RaiseIntentResultAgentErrorResponsePayload": o([
|
|
1621
|
+
{ json: "error", js: "error", typ: r("RaiseIntentResultErrorMessage") },
|
|
1622
|
+
], false),
|
|
1623
|
+
"RaiseIntentResultAgentResponse": o([
|
|
1624
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentResultAgentResponseMeta") },
|
|
1625
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentResultAgentResponsePayload") },
|
|
1626
|
+
{ json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
|
|
1627
|
+
], false),
|
|
1628
|
+
"RaiseIntentResultAgentResponseMeta": o([
|
|
1629
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1630
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1631
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1632
|
+
], false),
|
|
1633
|
+
"RaiseIntentResultAgentResponsePayload": o([
|
|
1634
|
+
{ json: "intentResult", js: "intentResult", typ: r("IntentResult") },
|
|
1635
|
+
], false),
|
|
1636
|
+
"IntentResult": o([
|
|
1637
|
+
{ json: "context", js: "context", typ: u(undefined, r("ContextElement")) },
|
|
1638
|
+
{ json: "channel", js: "channel", typ: u(undefined, r("Channel")) },
|
|
1639
|
+
], false),
|
|
1640
|
+
"Channel": o([
|
|
1641
|
+
{ json: "displayMetadata", js: "displayMetadata", typ: u(undefined, r("DisplayMetadata")) },
|
|
1642
|
+
{ json: "id", js: "id", typ: "" },
|
|
1643
|
+
{ json: "type", js: "type", typ: r("Type") },
|
|
1644
|
+
], false),
|
|
1645
|
+
"DisplayMetadata": o([
|
|
1646
|
+
{ json: "color", js: "color", typ: u(undefined, "") },
|
|
1647
|
+
{ json: "glyph", js: "glyph", typ: u(undefined, "") },
|
|
1648
|
+
{ json: "name", js: "name", typ: u(undefined, "") },
|
|
1649
|
+
], false),
|
|
1650
|
+
"RaiseIntentResultBridgeErrorResponse": o([
|
|
1651
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentResultBridgeErrorResponseMeta") },
|
|
1652
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentResultBridgeErrorResponsePayload") },
|
|
1653
|
+
{ json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
|
|
1654
|
+
], false),
|
|
1655
|
+
"RaiseIntentResultBridgeErrorResponseMeta": o([
|
|
1656
|
+
{ json: "errorDetails", js: "errorDetails", typ: a(r("ResponseErrorDetail")) },
|
|
1657
|
+
{ json: "errorSources", js: "errorSources", typ: a(r("DesktopAgentIdentifier")) },
|
|
1658
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1659
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1660
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1661
|
+
], false),
|
|
1662
|
+
"RaiseIntentResultBridgeErrorResponsePayload": o([
|
|
1663
|
+
{ json: "error", js: "error", typ: r("RaiseIntentResultErrorMessage") },
|
|
1664
|
+
], false),
|
|
1665
|
+
"RaiseIntentResultBridgeResponse": o([
|
|
1666
|
+
{ json: "meta", js: "meta", typ: r("RaiseIntentResultBridgeResponseMeta") },
|
|
1667
|
+
{ json: "payload", js: "payload", typ: r("RaiseIntentResultBridgeResponsePayload") },
|
|
1668
|
+
{ json: "type", js: "type", typ: r("RaiseIntentResultAgentErrorResponseType") },
|
|
1669
|
+
], false),
|
|
1670
|
+
"RaiseIntentResultBridgeResponseMeta": o([
|
|
1671
|
+
{ json: "errorDetails", js: "errorDetails", typ: u(undefined, a(r("ResponseErrorDetail"))) },
|
|
1672
|
+
{ json: "errorSources", js: "errorSources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1673
|
+
{ json: "requestUuid", js: "requestUuid", typ: "" },
|
|
1674
|
+
{ json: "responseUuid", js: "responseUuid", typ: "" },
|
|
1675
|
+
{ json: "sources", js: "sources", typ: u(undefined, a(r("DesktopAgentIdentifier"))) },
|
|
1676
|
+
{ json: "timestamp", js: "timestamp", typ: Date },
|
|
1677
|
+
], false),
|
|
1678
|
+
"RaiseIntentResultBridgeResponsePayload": o([
|
|
1679
|
+
{ json: "intentResult", js: "intentResult", typ: r("IntentResult") },
|
|
1680
|
+
], false),
|
|
1681
|
+
"Context": o([
|
|
1682
|
+
{ json: "id", js: "id", typ: u(undefined, m("any")) },
|
|
1683
|
+
{ json: "name", js: "name", typ: u(undefined, "") },
|
|
1684
|
+
{ json: "type", js: "type", typ: "" },
|
|
1685
|
+
], "any"),
|
|
1686
|
+
"ResponseErrorDetail": [
|
|
1687
|
+
"AccessDenied",
|
|
1688
|
+
"AgentDisconnected",
|
|
1689
|
+
"AppNotFound",
|
|
1690
|
+
"AppTimeout",
|
|
1691
|
+
"CreationFailed",
|
|
1692
|
+
"DesktopAgentNotFound",
|
|
1693
|
+
"ErrorOnLaunch",
|
|
1694
|
+
"IntentDeliveryFailed",
|
|
1695
|
+
"IntentHandlerRejected",
|
|
1696
|
+
"MalformedContext",
|
|
1697
|
+
"MalformedMessage",
|
|
1698
|
+
"NoAppsFound",
|
|
1699
|
+
"NoChannelFound",
|
|
1700
|
+
"NoResultReturned",
|
|
1701
|
+
"NotConnectedToBridge",
|
|
1702
|
+
"ResolverTimeout",
|
|
1703
|
+
"ResolverUnavailable",
|
|
1704
|
+
"ResponseToBridgeTimedOut",
|
|
1705
|
+
"TargetAppUnavailable",
|
|
1706
|
+
"TargetInstanceUnavailable",
|
|
1707
|
+
"UserCancelledResolution",
|
|
1708
|
+
],
|
|
1709
|
+
"ResponseMessageType": [
|
|
1710
|
+
"findInstancesResponse",
|
|
1711
|
+
"findIntentResponse",
|
|
1712
|
+
"findIntentsByContextResponse",
|
|
1713
|
+
"getAppMetadataResponse",
|
|
1714
|
+
"openResponse",
|
|
1715
|
+
"raiseIntentResponse",
|
|
1716
|
+
"raiseIntentResultResponse",
|
|
1717
|
+
],
|
|
1718
|
+
"RequestMessageType": [
|
|
1719
|
+
"broadcastRequest",
|
|
1720
|
+
"findInstancesRequest",
|
|
1721
|
+
"findIntentRequest",
|
|
1722
|
+
"findIntentsByContextRequest",
|
|
1723
|
+
"getAppMetadataRequest",
|
|
1724
|
+
"openRequest",
|
|
1725
|
+
"PrivateChannel.broadcast",
|
|
1726
|
+
"PrivateChannel.eventListenerAdded",
|
|
1727
|
+
"PrivateChannel.eventListenerRemoved",
|
|
1728
|
+
"PrivateChannel.onAddContextListener",
|
|
1729
|
+
"PrivateChannel.onDisconnect",
|
|
1730
|
+
"PrivateChannel.onUnsubscribe",
|
|
1731
|
+
"raiseIntentRequest",
|
|
1732
|
+
],
|
|
1733
|
+
"BroadcastAgentRequestType": [
|
|
1734
|
+
"broadcastRequest",
|
|
1735
|
+
],
|
|
1736
|
+
"ConnectionStepMessageType": [
|
|
1737
|
+
"authenticationFailed",
|
|
1738
|
+
"connectedAgentsUpdate",
|
|
1739
|
+
"handshake",
|
|
1740
|
+
"hello",
|
|
1741
|
+
],
|
|
1742
|
+
"ConnectionStep2HelloType": [
|
|
1743
|
+
"hello",
|
|
1744
|
+
],
|
|
1745
|
+
"ConnectionStep3HandshakeType": [
|
|
1746
|
+
"handshake",
|
|
1747
|
+
],
|
|
1748
|
+
"ConnectionStep4AuthenticationFailedType": [
|
|
1749
|
+
"authenticationFailed",
|
|
1750
|
+
],
|
|
1751
|
+
"ConnectionStep6ConnectedAgentsUpdateType": [
|
|
1752
|
+
"connectedAgentsUpdate",
|
|
1753
|
+
],
|
|
1754
|
+
"ErrorMessage": [
|
|
1755
|
+
"AgentDisconnected",
|
|
1756
|
+
"DesktopAgentNotFound",
|
|
1757
|
+
"IntentDeliveryFailed",
|
|
1758
|
+
"MalformedContext",
|
|
1759
|
+
"MalformedMessage",
|
|
1760
|
+
"NoAppsFound",
|
|
1761
|
+
"NotConnectedToBridge",
|
|
1762
|
+
"ResolverTimeout",
|
|
1763
|
+
"ResolverUnavailable",
|
|
1764
|
+
"ResponseToBridgeTimedOut",
|
|
1765
|
+
"TargetAppUnavailable",
|
|
1766
|
+
"TargetInstanceUnavailable",
|
|
1767
|
+
"UserCancelledResolution",
|
|
1768
|
+
],
|
|
1769
|
+
"FindInstancesAgentErrorResponseType": [
|
|
1770
|
+
"findInstancesResponse",
|
|
1771
|
+
],
|
|
1772
|
+
"FindInstancesAgentRequestType": [
|
|
1773
|
+
"findInstancesRequest",
|
|
1774
|
+
],
|
|
1775
|
+
"FindIntentAgentErrorResponseType": [
|
|
1776
|
+
"findIntentResponse",
|
|
1777
|
+
],
|
|
1778
|
+
"FindIntentAgentRequestType": [
|
|
1779
|
+
"findIntentRequest",
|
|
1780
|
+
],
|
|
1781
|
+
"FindIntentsByContextAgentErrorResponseType": [
|
|
1782
|
+
"findIntentsByContextResponse",
|
|
1783
|
+
],
|
|
1784
|
+
"FindIntentsByContextAgentRequestType": [
|
|
1785
|
+
"findIntentsByContextRequest",
|
|
1786
|
+
],
|
|
1787
|
+
"GetAppMetadataAgentErrorResponseType": [
|
|
1788
|
+
"getAppMetadataResponse",
|
|
1789
|
+
],
|
|
1790
|
+
"GetAppMetadataAgentRequestType": [
|
|
1791
|
+
"getAppMetadataRequest",
|
|
1792
|
+
],
|
|
1793
|
+
"OpenErrorMessage": [
|
|
1794
|
+
"AgentDisconnected",
|
|
1795
|
+
"AppNotFound",
|
|
1796
|
+
"AppTimeout",
|
|
1797
|
+
"DesktopAgentNotFound",
|
|
1798
|
+
"ErrorOnLaunch",
|
|
1799
|
+
"MalformedContext",
|
|
1800
|
+
"MalformedMessage",
|
|
1801
|
+
"NotConnectedToBridge",
|
|
1802
|
+
"ResolverUnavailable",
|
|
1803
|
+
"ResponseToBridgeTimedOut",
|
|
1804
|
+
],
|
|
1805
|
+
"OpenAgentErrorResponseType": [
|
|
1806
|
+
"openResponse",
|
|
1807
|
+
],
|
|
1808
|
+
"OpenAgentRequestType": [
|
|
1809
|
+
"openRequest",
|
|
1810
|
+
],
|
|
1811
|
+
"PrivateChannelBroadcastAgentRequestType": [
|
|
1812
|
+
"PrivateChannel.broadcast",
|
|
1813
|
+
],
|
|
1814
|
+
"PrivateChannelEventListenerTypes": [
|
|
1815
|
+
"onAddContextListener",
|
|
1816
|
+
"onDisconnect",
|
|
1817
|
+
"onUnsubscribe",
|
|
1818
|
+
],
|
|
1819
|
+
"PrivateChannelEventListenerAddedAgentRequestType": [
|
|
1820
|
+
"PrivateChannel.eventListenerAdded",
|
|
1821
|
+
],
|
|
1822
|
+
"PrivateChannelEventListenerRemovedAgentRequestType": [
|
|
1823
|
+
"PrivateChannel.eventListenerRemoved",
|
|
1824
|
+
],
|
|
1825
|
+
"PrivateChannelOnAddContextListenerAgentRequestType": [
|
|
1826
|
+
"PrivateChannel.onAddContextListener",
|
|
1827
|
+
],
|
|
1828
|
+
"PrivateChannelOnDisconnectAgentRequestType": [
|
|
1829
|
+
"PrivateChannel.onDisconnect",
|
|
1830
|
+
],
|
|
1831
|
+
"PrivateChannelOnUnsubscribeAgentRequestType": [
|
|
1832
|
+
"PrivateChannel.onUnsubscribe",
|
|
1808
1833
|
],
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
'findIntentResponse',
|
|
1812
|
-
'findIntentsByContextResponse',
|
|
1813
|
-
'getAppMetadataResponse',
|
|
1814
|
-
'openResponse',
|
|
1815
|
-
'raiseIntentResponse',
|
|
1816
|
-
'raiseIntentResultResponse',
|
|
1834
|
+
"RaiseIntentAgentErrorResponseType": [
|
|
1835
|
+
"raiseIntentResponse",
|
|
1817
1836
|
],
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
'findInstancesRequest',
|
|
1821
|
-
'findIntentRequest',
|
|
1822
|
-
'findIntentsByContextRequest',
|
|
1823
|
-
'getAppMetadataRequest',
|
|
1824
|
-
'openRequest',
|
|
1825
|
-
'PrivateChannel.broadcast',
|
|
1826
|
-
'PrivateChannel.eventListenerAdded',
|
|
1827
|
-
'PrivateChannel.onAddContextListener',
|
|
1828
|
-
'PrivateChannel.onDisconnect',
|
|
1829
|
-
'PrivateChannel.onUnsubscribe',
|
|
1830
|
-
'raiseIntentRequest',
|
|
1831
|
-
'raiseIntentResultResponse',
|
|
1837
|
+
"RaiseIntentAgentRequestType": [
|
|
1838
|
+
"raiseIntentRequest",
|
|
1832
1839
|
],
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
'NoAppsFound',
|
|
1841
|
-
'NotConnectedToBridge',
|
|
1842
|
-
'ResolverTimeout',
|
|
1843
|
-
'ResolverUnavailable',
|
|
1844
|
-
'ResponseToBridgeTimedOut',
|
|
1845
|
-
'TargetAppUnavailable',
|
|
1846
|
-
'TargetInstanceUnavailable',
|
|
1847
|
-
'UserCancelledResolution',
|
|
1840
|
+
"RaiseIntentResultErrorMessage": [
|
|
1841
|
+
"AgentDisconnected",
|
|
1842
|
+
"IntentHandlerRejected",
|
|
1843
|
+
"MalformedMessage",
|
|
1844
|
+
"NoResultReturned",
|
|
1845
|
+
"NotConnectedToBridge",
|
|
1846
|
+
"ResponseToBridgeTimedOut",
|
|
1848
1847
|
],
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
'AppNotFound',
|
|
1852
|
-
'AppTimeout',
|
|
1853
|
-
'DesktopAgentNotFound',
|
|
1854
|
-
'ErrorOnLaunch',
|
|
1855
|
-
'MalformedContext',
|
|
1856
|
-
'MalformedMessage',
|
|
1857
|
-
'NotConnectedToBridge',
|
|
1858
|
-
'ResolverUnavailable',
|
|
1859
|
-
'ResponseToBridgeTimedOut',
|
|
1848
|
+
"RaiseIntentResultAgentErrorResponseType": [
|
|
1849
|
+
"raiseIntentResultResponse",
|
|
1860
1850
|
],
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
'NoResultReturned',
|
|
1866
|
-
'NotConnectedToBridge',
|
|
1867
|
-
'ResponseToBridgeTimedOut',
|
|
1851
|
+
"Type": [
|
|
1852
|
+
"app",
|
|
1853
|
+
"private",
|
|
1854
|
+
"user",
|
|
1868
1855
|
],
|
|
1869
|
-
Type: ['app', 'private', 'user'],
|
|
1870
1856
|
};
|
|
1871
1857
|
//# sourceMappingURL=BridgingTypes.js.map
|