@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,49 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Metadata relating to the FDC3 Desktop Agent implementation and its provider.
|
|
3
|
-
*/
|
|
4
|
-
export interface BaseImplementationMetadata {
|
|
5
|
-
/**
|
|
6
|
-
* The version number of the FDC3 specification that the implementation provides.
|
|
7
|
-
* The string must be a numeric semver version, e.g. 1.2 or 1.2.1.
|
|
8
|
-
*/
|
|
9
|
-
fdc3Version: string;
|
|
10
|
-
/**
|
|
11
|
-
* Metadata indicating whether the Desktop Agent implements optional features of
|
|
12
|
-
* the Desktop Agent API.
|
|
13
|
-
*/
|
|
14
|
-
optionalFeatures: BaseImplementationMetadataOptionalFeatures;
|
|
15
|
-
/**
|
|
16
|
-
* The name of the provider of the Desktop Agent implementation (e.g. Finsemble, Glue42,
|
|
17
|
-
* OpenFin etc.).
|
|
18
|
-
*/
|
|
19
|
-
provider: string;
|
|
20
|
-
/**
|
|
21
|
-
* The version of the provider of the Desktop Agent implementation (e.g. 5.3.0).
|
|
22
|
-
*/
|
|
23
|
-
providerVersion?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Metadata indicating whether the Desktop Agent implements optional features of
|
|
27
|
-
* the Desktop Agent API.
|
|
28
|
-
*/
|
|
29
|
-
export interface BaseImplementationMetadataOptionalFeatures {
|
|
30
|
-
/**
|
|
31
|
-
* Used to indicate whether the experimental Desktop Agent Bridging
|
|
32
|
-
* feature is implemented by the Desktop Agent.
|
|
33
|
-
*/
|
|
34
|
-
DesktopAgentBridging: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Used to indicate whether the exposure of 'originating app metadata' for
|
|
37
|
-
* context and intent messages is supported by the Desktop Agent.
|
|
38
|
-
*/
|
|
39
|
-
OriginatingAppMetadata: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Used to indicate whether the optional `fdc3.joinUserChannel`,
|
|
42
|
-
* `fdc3.getCurrentChannel` and `fdc3.leaveCurrentChannel` are implemented by
|
|
43
|
-
* the Desktop Agent.
|
|
44
|
-
*/
|
|
45
|
-
UserChannelMembershipAPIs: boolean;
|
|
46
|
-
}
|
|
47
1
|
/**
|
|
48
2
|
* A response message from a Desktop Agent to the Bridge containing an error, to be used in
|
|
49
3
|
* preference to the standard response when an error needs to be returned.
|
|
@@ -87,42 +41,12 @@ export interface ErrorResponseMessagePayload {
|
|
|
87
41
|
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
88
42
|
* DesktopAgent (`fdc3`).
|
|
89
43
|
*/
|
|
90
|
-
export declare
|
|
91
|
-
AccessDenied = "AccessDenied",
|
|
92
|
-
AgentDisconnected = "AgentDisconnected",
|
|
93
|
-
AppNotFound = "AppNotFound",
|
|
94
|
-
AppTimeout = "AppTimeout",
|
|
95
|
-
CreationFailed = "CreationFailed",
|
|
96
|
-
DesktopAgentNotFound = "DesktopAgentNotFound",
|
|
97
|
-
ErrorOnLaunch = "ErrorOnLaunch",
|
|
98
|
-
IntentDeliveryFailed = "IntentDeliveryFailed",
|
|
99
|
-
IntentHandlerRejected = "IntentHandlerRejected",
|
|
100
|
-
MalformedContext = "MalformedContext",
|
|
101
|
-
MalformedMessage = "MalformedMessage",
|
|
102
|
-
NoAppsFound = "NoAppsFound",
|
|
103
|
-
NoChannelFound = "NoChannelFound",
|
|
104
|
-
NoResultReturned = "NoResultReturned",
|
|
105
|
-
NotConnectedToBridge = "NotConnectedToBridge",
|
|
106
|
-
ResolverTimeout = "ResolverTimeout",
|
|
107
|
-
ResolverUnavailable = "ResolverUnavailable",
|
|
108
|
-
ResponseToBridgeTimedOut = "ResponseToBridgeTimedOut",
|
|
109
|
-
TargetAppUnavailable = "TargetAppUnavailable",
|
|
110
|
-
TargetInstanceUnavailable = "TargetInstanceUnavailable",
|
|
111
|
-
UserCancelledResolution = "UserCancelledResolution"
|
|
112
|
-
}
|
|
44
|
+
export declare type ResponseErrorDetail = "AccessDenied" | "CreationFailed" | "MalformedContext" | "NoChannelFound" | "AppNotFound" | "AppTimeout" | "DesktopAgentNotFound" | "ErrorOnLaunch" | "ResolverUnavailable" | "IntentDeliveryFailed" | "NoAppsFound" | "ResolverTimeout" | "TargetAppUnavailable" | "TargetInstanceUnavailable" | "UserCancelledResolution" | "IntentHandlerRejected" | "NoResultReturned" | "AgentDisconnected" | "NotConnectedToBridge" | "ResponseToBridgeTimedOut" | "MalformedMessage";
|
|
113
45
|
/**
|
|
114
46
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
115
47
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
116
48
|
*/
|
|
117
|
-
export declare
|
|
118
|
-
FindInstancesResponse = "findInstancesResponse",
|
|
119
|
-
FindIntentResponse = "findIntentResponse",
|
|
120
|
-
FindIntentsByContextResponse = "findIntentsByContextResponse",
|
|
121
|
-
GetAppMetadataResponse = "getAppMetadataResponse",
|
|
122
|
-
OpenResponse = "openResponse",
|
|
123
|
-
RaiseIntentResponse = "raiseIntentResponse",
|
|
124
|
-
RaiseIntentResultResponse = "raiseIntentResultResponse"
|
|
125
|
-
}
|
|
49
|
+
export declare type ResponseMessageType = "findInstancesResponse" | "findIntentResponse" | "findIntentsByContextResponse" | "getAppMetadataResponse" | "openResponse" | "raiseIntentResponse" | "raiseIntentResultResponse";
|
|
126
50
|
/**
|
|
127
51
|
* A request message from a Desktop Agent to the Bridge.
|
|
128
52
|
*/
|
|
@@ -292,21 +216,7 @@ export interface SourceIdentifier {
|
|
|
292
216
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
293
217
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
294
218
|
*/
|
|
295
|
-
export declare
|
|
296
|
-
BroadcastRequest = "broadcastRequest",
|
|
297
|
-
FindInstancesRequest = "findInstancesRequest",
|
|
298
|
-
FindIntentRequest = "findIntentRequest",
|
|
299
|
-
FindIntentsByContextRequest = "findIntentsByContextRequest",
|
|
300
|
-
GetAppMetadataRequest = "getAppMetadataRequest",
|
|
301
|
-
OpenRequest = "openRequest",
|
|
302
|
-
PrivateChannelBroadcast = "PrivateChannel.broadcast",
|
|
303
|
-
PrivateChannelEventListenerAdded = "PrivateChannel.eventListenerAdded",
|
|
304
|
-
PrivateChannelOnAddContextListener = "PrivateChannel.onAddContextListener",
|
|
305
|
-
PrivateChannelOnDisconnect = "PrivateChannel.onDisconnect",
|
|
306
|
-
PrivateChannelOnUnsubscribe = "PrivateChannel.onUnsubscribe",
|
|
307
|
-
RaiseIntentRequest = "raiseIntentRequest",
|
|
308
|
-
RaiseIntentResultResponse = "raiseIntentResultResponse"
|
|
309
|
-
}
|
|
219
|
+
export declare type RequestMessageType = "broadcastRequest" | "findInstancesRequest" | "findIntentRequest" | "findIntentsByContextRequest" | "getAppMetadataRequest" | "openRequest" | "PrivateChannel.broadcast" | "PrivateChannel.eventListenerAdded" | "PrivateChannel.eventListenerRemoved" | "PrivateChannel.onAddContextListener" | "PrivateChannel.onDisconnect" | "PrivateChannel.onUnsubscribe" | "raiseIntentRequest";
|
|
310
220
|
/**
|
|
311
221
|
* A response message from a Desktop Agent to the Bridge.
|
|
312
222
|
*/
|
|
@@ -465,7 +375,7 @@ export interface BroadcastAgentRequest {
|
|
|
465
375
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
466
376
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
467
377
|
*/
|
|
468
|
-
type:
|
|
378
|
+
type: "broadcastRequest";
|
|
469
379
|
}
|
|
470
380
|
/**
|
|
471
381
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -545,7 +455,7 @@ export interface SourceObject {
|
|
|
545
455
|
*/
|
|
546
456
|
export interface BroadcastAgentRequestPayload {
|
|
547
457
|
/**
|
|
548
|
-
* The Id of the
|
|
458
|
+
* The Id of the Channel that the broadcast was sent on
|
|
549
459
|
*/
|
|
550
460
|
channelId: string;
|
|
551
461
|
/**
|
|
@@ -555,15 +465,69 @@ export interface BroadcastAgentRequestPayload {
|
|
|
555
465
|
}
|
|
556
466
|
/**
|
|
557
467
|
* The context object that was the payload of a broadcast message.
|
|
468
|
+
*
|
|
469
|
+
* The `fdc3.context` type defines the basic contract or "shape" for all data exchanged by
|
|
470
|
+
* FDC3 operations. As such, it is not really meant to be used on its own, but is imported
|
|
471
|
+
* by more specific type definitions (standardized or custom) to provide the structure and
|
|
472
|
+
* properties shared by all FDC3 context data types.
|
|
473
|
+
*
|
|
474
|
+
* The key element of FDC3 context types is their mandatory `type` property, which is used
|
|
475
|
+
* to identify what type of data the object represents, and what shape it has.
|
|
476
|
+
*
|
|
477
|
+
* The FDC3 context type, and all derived types, define the minimum set of fields a context
|
|
478
|
+
* data object of a particular type can be expected to have, but this can always be extended
|
|
479
|
+
* with custom fields as appropriate.
|
|
558
480
|
*/
|
|
559
481
|
export interface ContextElement {
|
|
482
|
+
/**
|
|
483
|
+
* Context data objects may include a set of equivalent key-value pairs that can be used to
|
|
484
|
+
* help applications identify and look up the context type they receive in their own domain.
|
|
485
|
+
* The idea behind this design is that applications can provide as many equivalent
|
|
486
|
+
* identifiers to a target application as possible, e.g. an instrument may be represented by
|
|
487
|
+
* an ISIN, CUSIP or Bloomberg identifier.
|
|
488
|
+
*
|
|
489
|
+
* Identifiers do not make sense for all types of data, so the `id` property is therefore
|
|
490
|
+
* optional, but some derived types may choose to require at least one identifier.
|
|
491
|
+
* Identifier values SHOULD always be of type string.
|
|
492
|
+
*/
|
|
560
493
|
id?: {
|
|
561
494
|
[key: string]: any;
|
|
562
495
|
};
|
|
496
|
+
/**
|
|
497
|
+
* Context data objects may include a name property that can be used for more information,
|
|
498
|
+
* or display purposes. Some derived types may require the name object as mandatory,
|
|
499
|
+
* depending on use case.
|
|
500
|
+
*/
|
|
563
501
|
name?: string;
|
|
502
|
+
/**
|
|
503
|
+
* The type property is the only _required_ part of the FDC3 context data schema. The FDC3
|
|
504
|
+
* [API](https://fdc3.finos.org/docs/api/spec) relies on the `type` property being present
|
|
505
|
+
* to route shared context data appropriately.
|
|
506
|
+
*
|
|
507
|
+
* FDC3 [Intents](https://fdc3.finos.org/docs/intents/spec) also register the context data
|
|
508
|
+
* types they support in an FDC3 [App
|
|
509
|
+
* Directory](https://fdc3.finos.org/docs/app-directory/overview), used for intent discovery
|
|
510
|
+
* and routing.
|
|
511
|
+
*
|
|
512
|
+
* Standardized FDC3 context types have well-known `type` properties prefixed with the
|
|
513
|
+
* `fdc3` namespace, e.g. `fdc3.instrument`. For non-standard types, e.g. those defined and
|
|
514
|
+
* used by a particular organization, the convention is to prefix them with an
|
|
515
|
+
* organization-specific namespace, e.g. `blackrock.fund`.
|
|
516
|
+
*
|
|
517
|
+
* See the [Context Data Specification](https://fdc3.finos.org/docs/context/spec) for more
|
|
518
|
+
* information about context data types.
|
|
519
|
+
*/
|
|
564
520
|
type: string;
|
|
565
521
|
[property: string]: any;
|
|
566
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
525
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
526
|
+
*
|
|
527
|
+
* UUID for the request
|
|
528
|
+
*
|
|
529
|
+
* UUID for this specific response message.
|
|
530
|
+
*/
|
|
567
531
|
/**
|
|
568
532
|
* A request to broadcast context on a channel.
|
|
569
533
|
*
|
|
@@ -579,7 +543,7 @@ export interface BroadcastBridgeRequest {
|
|
|
579
543
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
580
544
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
581
545
|
*/
|
|
582
|
-
type:
|
|
546
|
+
type: "broadcastRequest";
|
|
583
547
|
}
|
|
584
548
|
/**
|
|
585
549
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -668,7 +632,7 @@ export interface MetaSource {
|
|
|
668
632
|
*/
|
|
669
633
|
export interface BroadcastBridgeRequestPayload {
|
|
670
634
|
/**
|
|
671
|
-
* The Id of the
|
|
635
|
+
* The Id of the Channel that the broadcast was sent on
|
|
672
636
|
*/
|
|
673
637
|
channelId: string;
|
|
674
638
|
/**
|
|
@@ -704,12 +668,7 @@ export interface ConnectionStepMetadata {
|
|
|
704
668
|
/**
|
|
705
669
|
* Identifies the type of the connection step message.
|
|
706
670
|
*/
|
|
707
|
-
export declare
|
|
708
|
-
AuthenticationFailed = "authenticationFailed",
|
|
709
|
-
ConnectedAgentsUpdate = "connectedAgentsUpdate",
|
|
710
|
-
Handshake = "handshake",
|
|
711
|
-
Hello = "hello"
|
|
712
|
-
}
|
|
671
|
+
export declare type ConnectionStepMessageType = "hello" | "handshake" | "authenticationFailed" | "connectedAgentsUpdate";
|
|
713
672
|
/**
|
|
714
673
|
* Hello message sent by the Bridge to anyone connecting to the Bridge (enables
|
|
715
674
|
* identification as a bridge and confirmation of whether authentication is required)
|
|
@@ -726,7 +685,7 @@ export interface ConnectionStep2Hello {
|
|
|
726
685
|
/**
|
|
727
686
|
* Identifies the type of the connection step message.
|
|
728
687
|
*/
|
|
729
|
-
type:
|
|
688
|
+
type: "hello";
|
|
730
689
|
}
|
|
731
690
|
/**
|
|
732
691
|
* Metadata for this connection step message.
|
|
@@ -756,6 +715,9 @@ export interface ConnectionStep2HelloPayload {
|
|
|
756
715
|
*/
|
|
757
716
|
supportedFDC3Versions: string[];
|
|
758
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* Identifies the type of the connection step message.
|
|
720
|
+
*/
|
|
759
721
|
/**
|
|
760
722
|
* Handshake message sent by the Desktop Agent to the Bridge (including requested name,
|
|
761
723
|
* channel state and authentication data)
|
|
@@ -772,7 +734,7 @@ export interface ConnectionStep3Handshake {
|
|
|
772
734
|
/**
|
|
773
735
|
* Identifies the type of the connection step message.
|
|
774
736
|
*/
|
|
775
|
-
type:
|
|
737
|
+
type: "handshake";
|
|
776
738
|
}
|
|
777
739
|
/**
|
|
778
740
|
* Metadata for this connection step message.
|
|
@@ -787,8 +749,9 @@ export interface ConnectionStep3HandshakeMeta {
|
|
|
787
749
|
export interface ConnectionStep3HandshakePayload {
|
|
788
750
|
authToken?: string;
|
|
789
751
|
/**
|
|
790
|
-
* The current state of the Desktop Agent's
|
|
791
|
-
* mapping of channel id to an array of Context objects,
|
|
752
|
+
* The current state of the Desktop Agent's App and User channels (exclude any Private
|
|
753
|
+
* channels), as a mapping of channel id to an array of Context objects, one per type found
|
|
754
|
+
* in the channel, most recent first.
|
|
792
755
|
*/
|
|
793
756
|
channelsState: {
|
|
794
757
|
[key: string]: ContextElement[];
|
|
@@ -796,7 +759,7 @@ export interface ConnectionStep3HandshakePayload {
|
|
|
796
759
|
/**
|
|
797
760
|
* Desktop Agent ImplementationMetadata trying to connect to the bridge.
|
|
798
761
|
*/
|
|
799
|
-
implementationMetadata:
|
|
762
|
+
implementationMetadata: ConnectingAgentImplementationMetadata;
|
|
800
763
|
/**
|
|
801
764
|
* The requested Desktop Agent name
|
|
802
765
|
*/
|
|
@@ -807,7 +770,7 @@ export interface ConnectionStep3HandshakePayload {
|
|
|
807
770
|
*
|
|
808
771
|
* Metadata relating to the FDC3 Desktop Agent implementation and its provider.
|
|
809
772
|
*/
|
|
810
|
-
export interface
|
|
773
|
+
export interface ConnectingAgentImplementationMetadata {
|
|
811
774
|
/**
|
|
812
775
|
* The version number of the FDC3 specification that the implementation provides.
|
|
813
776
|
* The string must be a numeric semver version, e.g. 1.2 or 1.2.1.
|
|
@@ -817,7 +780,7 @@ export interface ImplementationMetadataElement {
|
|
|
817
780
|
* Metadata indicating whether the Desktop Agent implements optional features of
|
|
818
781
|
* the Desktop Agent API.
|
|
819
782
|
*/
|
|
820
|
-
optionalFeatures:
|
|
783
|
+
optionalFeatures: OptionalFeatures;
|
|
821
784
|
/**
|
|
822
785
|
* The name of the provider of the Desktop Agent implementation (e.g. Finsemble, Glue42,
|
|
823
786
|
* OpenFin etc.).
|
|
@@ -832,7 +795,7 @@ export interface ImplementationMetadataElement {
|
|
|
832
795
|
* Metadata indicating whether the Desktop Agent implements optional features of
|
|
833
796
|
* the Desktop Agent API.
|
|
834
797
|
*/
|
|
835
|
-
export interface
|
|
798
|
+
export interface OptionalFeatures {
|
|
836
799
|
/**
|
|
837
800
|
* Used to indicate whether the experimental Desktop Agent Bridging
|
|
838
801
|
* feature is implemented by the Desktop Agent.
|
|
@@ -850,6 +813,9 @@ export interface ImplementationMetadataOptionalFeatures {
|
|
|
850
813
|
*/
|
|
851
814
|
UserChannelMembershipAPIs: boolean;
|
|
852
815
|
}
|
|
816
|
+
/**
|
|
817
|
+
* Identifies the type of the connection step message.
|
|
818
|
+
*/
|
|
853
819
|
/**
|
|
854
820
|
* Message sent by Bridge to Desktop Agent if their authentication fails.
|
|
855
821
|
*
|
|
@@ -865,7 +831,7 @@ export interface ConnectionStep4AuthenticationFailed {
|
|
|
865
831
|
/**
|
|
866
832
|
* Identifies the type of the connection step message.
|
|
867
833
|
*/
|
|
868
|
-
type:
|
|
834
|
+
type: "authenticationFailed";
|
|
869
835
|
}
|
|
870
836
|
/**
|
|
871
837
|
* Metadata for this connection step message.
|
|
@@ -881,6 +847,9 @@ export interface ConnectionStep4AuthenticationFailedMeta {
|
|
|
881
847
|
export interface ConnectionStep4AuthenticationFailedPayload {
|
|
882
848
|
message?: string;
|
|
883
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* Identifies the type of the connection step message.
|
|
852
|
+
*/
|
|
884
853
|
/**
|
|
885
854
|
* Message sent by Bridge to all Desktop Agent when an agent joins or leaves the bridge,
|
|
886
855
|
* includes the details of all agents, the change made and the expected channel state for
|
|
@@ -898,7 +867,7 @@ export interface ConnectionStep6ConnectedAgentsUpdate {
|
|
|
898
867
|
/**
|
|
899
868
|
* Identifies the type of the connection step message.
|
|
900
869
|
*/
|
|
901
|
-
type:
|
|
870
|
+
type: "connectedAgentsUpdate";
|
|
902
871
|
}
|
|
903
872
|
/**
|
|
904
873
|
* Metadata for this connection step message.
|
|
@@ -919,7 +888,7 @@ export interface ConnectionStep6ConnectedAgentsUpdatePayload {
|
|
|
919
888
|
/**
|
|
920
889
|
* Desktop Agent Bridge implementation metadata of all connected agents.
|
|
921
890
|
*/
|
|
922
|
-
allAgents:
|
|
891
|
+
allAgents: DesktopAgentImplementationMetadata[];
|
|
923
892
|
/**
|
|
924
893
|
* The updated state of channels that should be adopted by the agents. Should only be set
|
|
925
894
|
* when an agent is connecting to the bridge.
|
|
@@ -933,6 +902,40 @@ export interface ConnectionStep6ConnectedAgentsUpdatePayload {
|
|
|
933
902
|
*/
|
|
934
903
|
removeAgent?: string;
|
|
935
904
|
}
|
|
905
|
+
/**
|
|
906
|
+
* Includes the name assigned to the Desktop Agent by the Bridge.
|
|
907
|
+
*
|
|
908
|
+
* Metadata relating to the FDC3 Desktop Agent implementation and its provider.
|
|
909
|
+
*/
|
|
910
|
+
export interface DesktopAgentImplementationMetadata {
|
|
911
|
+
/**
|
|
912
|
+
* Used in Desktop Agent Bridging to attribute or target a message to a particular Desktop
|
|
913
|
+
* Agent.
|
|
914
|
+
*/
|
|
915
|
+
desktopAgent: string;
|
|
916
|
+
/**
|
|
917
|
+
* The version number of the FDC3 specification that the implementation provides.
|
|
918
|
+
* The string must be a numeric semver version, e.g. 1.2 or 1.2.1.
|
|
919
|
+
*/
|
|
920
|
+
fdc3Version: string;
|
|
921
|
+
/**
|
|
922
|
+
* Metadata indicating whether the Desktop Agent implements optional features of
|
|
923
|
+
* the Desktop Agent API.
|
|
924
|
+
*/
|
|
925
|
+
optionalFeatures: OptionalFeatures;
|
|
926
|
+
/**
|
|
927
|
+
* The name of the provider of the Desktop Agent implementation (e.g. Finsemble, Glue42,
|
|
928
|
+
* OpenFin etc.).
|
|
929
|
+
*/
|
|
930
|
+
provider: string;
|
|
931
|
+
/**
|
|
932
|
+
* The version of the provider of the Desktop Agent implementation (e.g. 5.3.0).
|
|
933
|
+
*/
|
|
934
|
+
providerVersion?: string;
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
* Identifies the type of the connection step message.
|
|
938
|
+
*/
|
|
936
939
|
/**
|
|
937
940
|
* A response to a findInstances request that contains an error.
|
|
938
941
|
*
|
|
@@ -949,7 +952,7 @@ export interface FindInstancesAgentErrorResponse {
|
|
|
949
952
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
950
953
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
951
954
|
*/
|
|
952
|
-
type:
|
|
955
|
+
type: "findInstancesResponse";
|
|
953
956
|
}
|
|
954
957
|
/**
|
|
955
958
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -977,21 +980,15 @@ export interface FindInstancesAgentErrorResponsePayload {
|
|
|
977
980
|
* Constants representing the errors that can be encountered when calling the `open` method
|
|
978
981
|
* on the DesktopAgent object (`fdc3`).
|
|
979
982
|
*/
|
|
980
|
-
export declare
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
ResolverUnavailable = "ResolverUnavailable",
|
|
990
|
-
ResponseToBridgeTimedOut = "ResponseToBridgeTimedOut",
|
|
991
|
-
TargetAppUnavailable = "TargetAppUnavailable",
|
|
992
|
-
TargetInstanceUnavailable = "TargetInstanceUnavailable",
|
|
993
|
-
UserCancelledResolution = "UserCancelledResolution"
|
|
994
|
-
}
|
|
983
|
+
export declare type ErrorMessage = "DesktopAgentNotFound" | "IntentDeliveryFailed" | "MalformedContext" | "NoAppsFound" | "ResolverTimeout" | "ResolverUnavailable" | "TargetAppUnavailable" | "TargetInstanceUnavailable" | "UserCancelledResolution" | "AgentDisconnected" | "NotConnectedToBridge" | "ResponseToBridgeTimedOut" | "MalformedMessage";
|
|
984
|
+
/**
|
|
985
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
986
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
987
|
+
*
|
|
988
|
+
* UUID for the request
|
|
989
|
+
*
|
|
990
|
+
* UUID for this specific response message.
|
|
991
|
+
*/
|
|
995
992
|
/**
|
|
996
993
|
* A request for details of instances of a particular app
|
|
997
994
|
*
|
|
@@ -1007,7 +1004,7 @@ export interface FindInstancesAgentRequest {
|
|
|
1007
1004
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1008
1005
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1009
1006
|
*/
|
|
1010
|
-
type:
|
|
1007
|
+
type: "findInstancesRequest";
|
|
1011
1008
|
}
|
|
1012
1009
|
/**
|
|
1013
1010
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -1024,7 +1021,7 @@ export interface FindInstancesAgentRequestMeta {
|
|
|
1024
1021
|
* Field that represents the source application that the request was received from, or the
|
|
1025
1022
|
* source Desktop Agent if it issued the request itself.
|
|
1026
1023
|
*/
|
|
1027
|
-
source?:
|
|
1024
|
+
source?: SourceIdentifier;
|
|
1028
1025
|
timestamp: Date;
|
|
1029
1026
|
}
|
|
1030
1027
|
/**
|
|
@@ -1137,6 +1134,14 @@ export interface AppIdentifier {
|
|
|
1137
1134
|
instanceId?: string;
|
|
1138
1135
|
[property: string]: any;
|
|
1139
1136
|
}
|
|
1137
|
+
/**
|
|
1138
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1139
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1140
|
+
*
|
|
1141
|
+
* UUID for the request
|
|
1142
|
+
*
|
|
1143
|
+
* UUID for this specific response message.
|
|
1144
|
+
*/
|
|
1140
1145
|
/**
|
|
1141
1146
|
* A response to a findInstances request.
|
|
1142
1147
|
*
|
|
@@ -1152,7 +1157,7 @@ export interface FindInstancesAgentResponse {
|
|
|
1152
1157
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1153
1158
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1154
1159
|
*/
|
|
1155
|
-
type:
|
|
1160
|
+
type: "findInstancesResponse";
|
|
1156
1161
|
}
|
|
1157
1162
|
/**
|
|
1158
1163
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -1301,7 +1306,7 @@ export interface FindInstancesBridgeErrorResponse {
|
|
|
1301
1306
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1302
1307
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1303
1308
|
*/
|
|
1304
|
-
type:
|
|
1309
|
+
type: "findInstancesResponse";
|
|
1305
1310
|
}
|
|
1306
1311
|
/**
|
|
1307
1312
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -1335,7 +1340,7 @@ export interface FindInstancesBridgeRequest {
|
|
|
1335
1340
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1336
1341
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1337
1342
|
*/
|
|
1338
|
-
type:
|
|
1343
|
+
type: "findInstancesRequest";
|
|
1339
1344
|
}
|
|
1340
1345
|
/**
|
|
1341
1346
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -1353,9 +1358,84 @@ export interface FindInstancesBridgeRequestMeta {
|
|
|
1353
1358
|
* source Desktop Agent if it issued the request itself. The Desktop Agent identifier MUST
|
|
1354
1359
|
* be set by the bridge.
|
|
1355
1360
|
*/
|
|
1356
|
-
source:
|
|
1361
|
+
source: MetaSourceObject;
|
|
1357
1362
|
timestamp: Date;
|
|
1358
1363
|
}
|
|
1364
|
+
/**
|
|
1365
|
+
* Field that represents the source application that the request was received from, or the
|
|
1366
|
+
* source Desktop Agent if it issued the request itself.
|
|
1367
|
+
*
|
|
1368
|
+
* Field that represents the source application that a request or response was received
|
|
1369
|
+
* from, or the source Desktop Agent if it issued the request or response itself.
|
|
1370
|
+
*
|
|
1371
|
+
* Identifies an application, or instance of an application, and is used to target FDC3 API
|
|
1372
|
+
* calls, such as `fdc3.open` or `fdc3.raiseIntent` at specific applications or application
|
|
1373
|
+
* instances.
|
|
1374
|
+
*
|
|
1375
|
+
* Will always include at least an `appId` field, which uniquely identifies a specific app.
|
|
1376
|
+
*
|
|
1377
|
+
* If the `instanceId` field is set then the `AppMetadata` object represents a specific
|
|
1378
|
+
* instance of the application that may be addressed using that Id.
|
|
1379
|
+
*
|
|
1380
|
+
* Field that represents the source application that a request or response was received
|
|
1381
|
+
* from.
|
|
1382
|
+
*
|
|
1383
|
+
* Identifier for the app instance that was selected (or started) to resolve the intent.
|
|
1384
|
+
* `source.instanceId` MUST be set, indicating the specific app instance that
|
|
1385
|
+
* received the intent.
|
|
1386
|
+
*
|
|
1387
|
+
* Identifies a particular Desktop Agent in Desktop Agent Bridging scenarios
|
|
1388
|
+
* where a request needs to be directed to a Desktop Agent rather than a specific app, or a
|
|
1389
|
+
* response message is returned by the Desktop Agent (or more specifically its resolver)
|
|
1390
|
+
* rather than a specific app. Used as a substitute for `AppIdentifier` in cases where no
|
|
1391
|
+
* app details are available or are appropriate.
|
|
1392
|
+
*
|
|
1393
|
+
* Array of DesktopAgentIdentifiers for responses that were not returned to the bridge
|
|
1394
|
+
* before the timeout or because an error occurred. May be omitted if all sources responded
|
|
1395
|
+
* without errors. MUST include the `desktopAgent` field when returned by the bridge.
|
|
1396
|
+
*
|
|
1397
|
+
* Array of DesktopAgentIdentifiers for the sources that generated responses to the request.
|
|
1398
|
+
* Will contain a single value for individual responses and multiple values for responses
|
|
1399
|
+
* that were collated by the bridge. May be omitted if all sources errored. MUST include the
|
|
1400
|
+
* `desktopAgent` field when returned by the bridge.
|
|
1401
|
+
*
|
|
1402
|
+
* Field that represents a destination Desktop Agent that a request is to be sent to.
|
|
1403
|
+
*
|
|
1404
|
+
* Optional field that represents the destination that the request should be routed to. Must
|
|
1405
|
+
* be set by the Desktop Agent for API calls that include a target app parameter and must
|
|
1406
|
+
* include the name of the Desktop Agent hosting the target application.
|
|
1407
|
+
*
|
|
1408
|
+
* Represents identifiers that MUST include the Desktop Agent name and MAY identify a
|
|
1409
|
+
* specific app or instance.
|
|
1410
|
+
*
|
|
1411
|
+
* Field that represents the source application that the request was received from, or the
|
|
1412
|
+
* source Desktop Agent if it issued the request itself. The Desktop Agent identifier MUST
|
|
1413
|
+
* be set by the bridge.
|
|
1414
|
+
*
|
|
1415
|
+
* Field that represents a destination App on a remote Desktop Agent that a request is to be
|
|
1416
|
+
* sent to.
|
|
1417
|
+
*/
|
|
1418
|
+
export interface MetaSourceObject {
|
|
1419
|
+
/**
|
|
1420
|
+
* The unique application identifier located within a specific application directory
|
|
1421
|
+
* instance. An example of an appId might be 'app@sub.root'
|
|
1422
|
+
*/
|
|
1423
|
+
appId?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* The Desktop Agent that the app is available on. Used in Desktop Agent Bridging to
|
|
1426
|
+
* identify the Desktop Agent to target.
|
|
1427
|
+
*
|
|
1428
|
+
* Used in Desktop Agent Bridging to attribute or target a message to a
|
|
1429
|
+
* particular Desktop Agent.
|
|
1430
|
+
*/
|
|
1431
|
+
desktopAgent: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* An optional instance identifier, indicating that this object represents a specific
|
|
1434
|
+
* instance of the application described.
|
|
1435
|
+
*/
|
|
1436
|
+
instanceId?: string;
|
|
1437
|
+
[property: string]: any;
|
|
1438
|
+
}
|
|
1359
1439
|
/**
|
|
1360
1440
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
1361
1441
|
*/
|
|
@@ -1378,7 +1458,7 @@ export interface FindInstancesBridgeResponse {
|
|
|
1378
1458
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1379
1459
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1380
1460
|
*/
|
|
1381
|
-
type:
|
|
1461
|
+
type: "findInstancesResponse";
|
|
1382
1462
|
}
|
|
1383
1463
|
/**
|
|
1384
1464
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -1413,7 +1493,7 @@ export interface FindIntentAgentErrorResponse {
|
|
|
1413
1493
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1414
1494
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1415
1495
|
*/
|
|
1416
|
-
type:
|
|
1496
|
+
type: "findIntentResponse";
|
|
1417
1497
|
}
|
|
1418
1498
|
/**
|
|
1419
1499
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -1429,6 +1509,14 @@ export interface FindIntentAgentErrorResponseMeta {
|
|
|
1429
1509
|
export interface FindIntentAgentErrorResponsePayload {
|
|
1430
1510
|
error: ErrorMessage;
|
|
1431
1511
|
}
|
|
1512
|
+
/**
|
|
1513
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1514
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1515
|
+
*
|
|
1516
|
+
* UUID for the request
|
|
1517
|
+
*
|
|
1518
|
+
* UUID for this specific response message.
|
|
1519
|
+
*/
|
|
1432
1520
|
/**
|
|
1433
1521
|
* A request for details of apps available to resolve a particular intent and context pair.
|
|
1434
1522
|
*
|
|
@@ -1444,7 +1532,7 @@ export interface FindIntentAgentRequest {
|
|
|
1444
1532
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1445
1533
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1446
1534
|
*/
|
|
1447
|
-
type:
|
|
1535
|
+
type: "findIntentRequest";
|
|
1448
1536
|
}
|
|
1449
1537
|
/**
|
|
1450
1538
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -1470,7 +1558,16 @@ export interface FindIntentAgentRequestMeta {
|
|
|
1470
1558
|
export interface FindIntentAgentRequestPayload {
|
|
1471
1559
|
context?: ContextElement;
|
|
1472
1560
|
intent: string;
|
|
1561
|
+
resultType?: string;
|
|
1473
1562
|
}
|
|
1563
|
+
/**
|
|
1564
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1565
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1566
|
+
*
|
|
1567
|
+
* UUID for the request
|
|
1568
|
+
*
|
|
1569
|
+
* UUID for this specific response message.
|
|
1570
|
+
*/
|
|
1474
1571
|
/**
|
|
1475
1572
|
* A response to a findIntent request.
|
|
1476
1573
|
*
|
|
@@ -1486,7 +1583,7 @@ export interface FindIntentAgentResponse {
|
|
|
1486
1583
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1487
1584
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1488
1585
|
*/
|
|
1489
|
-
type:
|
|
1586
|
+
type: "findIntentResponse";
|
|
1490
1587
|
}
|
|
1491
1588
|
/**
|
|
1492
1589
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -1547,7 +1644,7 @@ export interface FindIntentBridgeErrorResponse {
|
|
|
1547
1644
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1548
1645
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1549
1646
|
*/
|
|
1550
|
-
type:
|
|
1647
|
+
type: "findIntentResponse";
|
|
1551
1648
|
}
|
|
1552
1649
|
/**
|
|
1553
1650
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -1581,7 +1678,7 @@ export interface FindIntentBridgeRequest {
|
|
|
1581
1678
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1582
1679
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1583
1680
|
*/
|
|
1584
|
-
type:
|
|
1681
|
+
type: "findIntentRequest";
|
|
1585
1682
|
}
|
|
1586
1683
|
/**
|
|
1587
1684
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -1608,6 +1705,7 @@ export interface FindIntentBridgeRequestMeta {
|
|
|
1608
1705
|
export interface FindIntentBridgeRequestPayload {
|
|
1609
1706
|
context?: ContextElement;
|
|
1610
1707
|
intent: string;
|
|
1708
|
+
resultType?: string;
|
|
1611
1709
|
}
|
|
1612
1710
|
/**
|
|
1613
1711
|
* A response to a findIntent request.
|
|
@@ -1625,7 +1723,7 @@ export interface FindIntentBridgeResponse {
|
|
|
1625
1723
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1626
1724
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1627
1725
|
*/
|
|
1628
|
-
type:
|
|
1726
|
+
type: "findIntentResponse";
|
|
1629
1727
|
}
|
|
1630
1728
|
/**
|
|
1631
1729
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -1660,7 +1758,7 @@ export interface FindIntentsByContextAgentErrorResponse {
|
|
|
1660
1758
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1661
1759
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1662
1760
|
*/
|
|
1663
|
-
type:
|
|
1761
|
+
type: "findIntentsByContextResponse";
|
|
1664
1762
|
}
|
|
1665
1763
|
/**
|
|
1666
1764
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -1676,6 +1774,14 @@ export interface FindIntentsByContextAgentErrorResponseMeta {
|
|
|
1676
1774
|
export interface FindIntentsByContextAgentErrorResponsePayload {
|
|
1677
1775
|
error: ErrorMessage;
|
|
1678
1776
|
}
|
|
1777
|
+
/**
|
|
1778
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1779
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1780
|
+
*
|
|
1781
|
+
* UUID for the request
|
|
1782
|
+
*
|
|
1783
|
+
* UUID for this specific response message.
|
|
1784
|
+
*/
|
|
1679
1785
|
/**
|
|
1680
1786
|
* A request for details of intents and apps available to resolve them for a particular
|
|
1681
1787
|
* context.
|
|
@@ -1692,7 +1798,7 @@ export interface FindIntentsByContextAgentRequest {
|
|
|
1692
1798
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1693
1799
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1694
1800
|
*/
|
|
1695
|
-
type:
|
|
1801
|
+
type: "findIntentsByContextRequest";
|
|
1696
1802
|
}
|
|
1697
1803
|
/**
|
|
1698
1804
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -1718,6 +1824,14 @@ export interface FindIntentsByContextAgentRequestMeta {
|
|
|
1718
1824
|
export interface FindIntentsByContextAgentRequestPayload {
|
|
1719
1825
|
context: ContextElement;
|
|
1720
1826
|
}
|
|
1827
|
+
/**
|
|
1828
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1829
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1830
|
+
*
|
|
1831
|
+
* UUID for the request
|
|
1832
|
+
*
|
|
1833
|
+
* UUID for this specific response message.
|
|
1834
|
+
*/
|
|
1721
1835
|
/**
|
|
1722
1836
|
* A response to a findIntentsByContext request.
|
|
1723
1837
|
*
|
|
@@ -1733,7 +1847,7 @@ export interface FindIntentsByContextAgentResponse {
|
|
|
1733
1847
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1734
1848
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1735
1849
|
*/
|
|
1736
|
-
type:
|
|
1850
|
+
type: "findIntentsByContextResponse";
|
|
1737
1851
|
}
|
|
1738
1852
|
/**
|
|
1739
1853
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -1766,7 +1880,7 @@ export interface FindIntentsByContextBridgeErrorResponse {
|
|
|
1766
1880
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1767
1881
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1768
1882
|
*/
|
|
1769
|
-
type:
|
|
1883
|
+
type: "findIntentsByContextResponse";
|
|
1770
1884
|
}
|
|
1771
1885
|
/**
|
|
1772
1886
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -1801,7 +1915,7 @@ export interface FindIntentsByContextBridgeRequest {
|
|
|
1801
1915
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1802
1916
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1803
1917
|
*/
|
|
1804
|
-
type:
|
|
1918
|
+
type: "findIntentsByContextRequest";
|
|
1805
1919
|
}
|
|
1806
1920
|
/**
|
|
1807
1921
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -1844,7 +1958,7 @@ export interface FindIntentsByContextBridgeResponse {
|
|
|
1844
1958
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1845
1959
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1846
1960
|
*/
|
|
1847
|
-
type:
|
|
1961
|
+
type: "findIntentsByContextResponse";
|
|
1848
1962
|
}
|
|
1849
1963
|
/**
|
|
1850
1964
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -1879,7 +1993,7 @@ export interface GetAppMetadataAgentErrorResponse {
|
|
|
1879
1993
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1880
1994
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
1881
1995
|
*/
|
|
1882
|
-
type:
|
|
1996
|
+
type: "getAppMetadataResponse";
|
|
1883
1997
|
}
|
|
1884
1998
|
/**
|
|
1885
1999
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -1895,6 +2009,14 @@ export interface GetAppMetadataAgentErrorResponseMeta {
|
|
|
1895
2009
|
export interface GetAppMetadataAgentErrorResponsePayload {
|
|
1896
2010
|
error: ErrorMessage;
|
|
1897
2011
|
}
|
|
2012
|
+
/**
|
|
2013
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2014
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2015
|
+
*
|
|
2016
|
+
* UUID for the request
|
|
2017
|
+
*
|
|
2018
|
+
* UUID for this specific response message.
|
|
2019
|
+
*/
|
|
1898
2020
|
/**
|
|
1899
2021
|
* A request for metadata about an app
|
|
1900
2022
|
*
|
|
@@ -1910,7 +2032,7 @@ export interface GetAppMetadataAgentRequest {
|
|
|
1910
2032
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
1911
2033
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
1912
2034
|
*/
|
|
1913
|
-
type:
|
|
2035
|
+
type: "getAppMetadataRequest";
|
|
1914
2036
|
}
|
|
1915
2037
|
/**
|
|
1916
2038
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -1994,6 +2116,14 @@ export interface AppDestinationIdentifier {
|
|
|
1994
2116
|
instanceId?: string;
|
|
1995
2117
|
[property: string]: any;
|
|
1996
2118
|
}
|
|
2119
|
+
/**
|
|
2120
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2121
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2122
|
+
*
|
|
2123
|
+
* UUID for the request
|
|
2124
|
+
*
|
|
2125
|
+
* UUID for this specific response message.
|
|
2126
|
+
*/
|
|
1997
2127
|
/**
|
|
1998
2128
|
* A response to a getAppMetadata request.
|
|
1999
2129
|
*
|
|
@@ -2009,7 +2139,7 @@ export interface GetAppMetadataAgentResponse {
|
|
|
2009
2139
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2010
2140
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2011
2141
|
*/
|
|
2012
|
-
type:
|
|
2142
|
+
type: "getAppMetadataResponse";
|
|
2013
2143
|
}
|
|
2014
2144
|
/**
|
|
2015
2145
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -2042,7 +2172,7 @@ export interface GetAppMetadataBridgeErrorResponse {
|
|
|
2042
2172
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2043
2173
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2044
2174
|
*/
|
|
2045
|
-
type:
|
|
2175
|
+
type: "getAppMetadataResponse";
|
|
2046
2176
|
}
|
|
2047
2177
|
/**
|
|
2048
2178
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -2076,7 +2206,7 @@ export interface GetAppMetadataBridgeRequest {
|
|
|
2076
2206
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2077
2207
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2078
2208
|
*/
|
|
2079
|
-
type:
|
|
2209
|
+
type: "getAppMetadataRequest";
|
|
2080
2210
|
}
|
|
2081
2211
|
/**
|
|
2082
2212
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -2097,81 +2227,6 @@ export interface GetAppMetadataBridgeRequestMeta {
|
|
|
2097
2227
|
source: MetaSourceObject;
|
|
2098
2228
|
timestamp: Date;
|
|
2099
2229
|
}
|
|
2100
|
-
/**
|
|
2101
|
-
* Field that represents the source application that the request was received from, or the
|
|
2102
|
-
* source Desktop Agent if it issued the request itself.
|
|
2103
|
-
*
|
|
2104
|
-
* Field that represents the source application that a request or response was received
|
|
2105
|
-
* from, or the source Desktop Agent if it issued the request or response itself.
|
|
2106
|
-
*
|
|
2107
|
-
* Identifies an application, or instance of an application, and is used to target FDC3 API
|
|
2108
|
-
* calls, such as `fdc3.open` or `fdc3.raiseIntent` at specific applications or application
|
|
2109
|
-
* instances.
|
|
2110
|
-
*
|
|
2111
|
-
* Will always include at least an `appId` field, which uniquely identifies a specific app.
|
|
2112
|
-
*
|
|
2113
|
-
* If the `instanceId` field is set then the `AppMetadata` object represents a specific
|
|
2114
|
-
* instance of the application that may be addressed using that Id.
|
|
2115
|
-
*
|
|
2116
|
-
* Field that represents the source application that a request or response was received
|
|
2117
|
-
* from.
|
|
2118
|
-
*
|
|
2119
|
-
* Identifier for the app instance that was selected (or started) to resolve the intent.
|
|
2120
|
-
* `source.instanceId` MUST be set, indicating the specific app instance that
|
|
2121
|
-
* received the intent.
|
|
2122
|
-
*
|
|
2123
|
-
* Identifies a particular Desktop Agent in Desktop Agent Bridging scenarios
|
|
2124
|
-
* where a request needs to be directed to a Desktop Agent rather than a specific app, or a
|
|
2125
|
-
* response message is returned by the Desktop Agent (or more specifically its resolver)
|
|
2126
|
-
* rather than a specific app. Used as a substitute for `AppIdentifier` in cases where no
|
|
2127
|
-
* app details are available or are appropriate.
|
|
2128
|
-
*
|
|
2129
|
-
* Array of DesktopAgentIdentifiers for responses that were not returned to the bridge
|
|
2130
|
-
* before the timeout or because an error occurred. May be omitted if all sources responded
|
|
2131
|
-
* without errors. MUST include the `desktopAgent` field when returned by the bridge.
|
|
2132
|
-
*
|
|
2133
|
-
* Array of DesktopAgentIdentifiers for the sources that generated responses to the request.
|
|
2134
|
-
* Will contain a single value for individual responses and multiple values for responses
|
|
2135
|
-
* that were collated by the bridge. May be omitted if all sources errored. MUST include the
|
|
2136
|
-
* `desktopAgent` field when returned by the bridge.
|
|
2137
|
-
*
|
|
2138
|
-
* Field that represents a destination Desktop Agent that a request is to be sent to.
|
|
2139
|
-
*
|
|
2140
|
-
* Optional field that represents the destination that the request should be routed to. Must
|
|
2141
|
-
* be set by the Desktop Agent for API calls that include a target app parameter and must
|
|
2142
|
-
* include the name of the Desktop Agent hosting the target application.
|
|
2143
|
-
*
|
|
2144
|
-
* Represents identifiers that MUST include the Desktop Agent name and MAY identify a
|
|
2145
|
-
* specific app or instance.
|
|
2146
|
-
*
|
|
2147
|
-
* Field that represents the source application that the request was received from, or the
|
|
2148
|
-
* source Desktop Agent if it issued the request itself. The Desktop Agent identifier MUST
|
|
2149
|
-
* be set by the bridge.
|
|
2150
|
-
*
|
|
2151
|
-
* Field that represents a destination App on a remote Desktop Agent that a request is to be
|
|
2152
|
-
* sent to.
|
|
2153
|
-
*/
|
|
2154
|
-
export interface MetaSourceObject {
|
|
2155
|
-
/**
|
|
2156
|
-
* The unique application identifier located within a specific application directory
|
|
2157
|
-
* instance. An example of an appId might be 'app@sub.root'
|
|
2158
|
-
*/
|
|
2159
|
-
appId?: string;
|
|
2160
|
-
/**
|
|
2161
|
-
* The Desktop Agent that the app is available on. Used in Desktop Agent Bridging to
|
|
2162
|
-
* identify the Desktop Agent to target.
|
|
2163
|
-
*
|
|
2164
|
-
* Used in Desktop Agent Bridging to attribute or target a message to a
|
|
2165
|
-
* particular Desktop Agent.
|
|
2166
|
-
*/
|
|
2167
|
-
desktopAgent: string;
|
|
2168
|
-
/**
|
|
2169
|
-
* An optional instance identifier, indicating that this object represents a specific
|
|
2170
|
-
* instance of the application described.
|
|
2171
|
-
*/
|
|
2172
|
-
instanceId?: string;
|
|
2173
|
-
[property: string]: any;
|
|
2174
|
-
}
|
|
2175
2230
|
/**
|
|
2176
2231
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2177
2232
|
*/
|
|
@@ -2194,7 +2249,7 @@ export interface GetAppMetadataBridgeResponse {
|
|
|
2194
2249
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2195
2250
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2196
2251
|
*/
|
|
2197
|
-
type:
|
|
2252
|
+
type: "getAppMetadataResponse";
|
|
2198
2253
|
}
|
|
2199
2254
|
/**
|
|
2200
2255
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -2229,7 +2284,7 @@ export interface OpenAgentErrorResponse {
|
|
|
2229
2284
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2230
2285
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2231
2286
|
*/
|
|
2232
|
-
type:
|
|
2287
|
+
type: "openResponse";
|
|
2233
2288
|
}
|
|
2234
2289
|
/**
|
|
2235
2290
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -2257,18 +2312,15 @@ export interface OpenAgentErrorResponsePayload {
|
|
|
2257
2312
|
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
2258
2313
|
* DesktopAgent (`fdc3`).
|
|
2259
2314
|
*/
|
|
2260
|
-
export declare
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
ResolverUnavailable = "ResolverUnavailable",
|
|
2270
|
-
ResponseToBridgeTimedOut = "ResponseToBridgeTimedOut"
|
|
2271
|
-
}
|
|
2315
|
+
export declare type OpenErrorMessage = "AppNotFound" | "AppTimeout" | "DesktopAgentNotFound" | "ErrorOnLaunch" | "MalformedContext" | "ResolverUnavailable" | "AgentDisconnected" | "NotConnectedToBridge" | "ResponseToBridgeTimedOut" | "MalformedMessage";
|
|
2316
|
+
/**
|
|
2317
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2318
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2319
|
+
*
|
|
2320
|
+
* UUID for the request
|
|
2321
|
+
*
|
|
2322
|
+
* UUID for this specific response message.
|
|
2323
|
+
*/
|
|
2272
2324
|
/**
|
|
2273
2325
|
* A request to open an application
|
|
2274
2326
|
*
|
|
@@ -2284,7 +2336,7 @@ export interface OpenAgentRequest {
|
|
|
2284
2336
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2285
2337
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2286
2338
|
*/
|
|
2287
|
-
type:
|
|
2339
|
+
type: "openRequest";
|
|
2288
2340
|
}
|
|
2289
2341
|
/**
|
|
2290
2342
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -2371,6 +2423,14 @@ export interface AppToOpen {
|
|
|
2371
2423
|
instanceId?: string;
|
|
2372
2424
|
[property: string]: any;
|
|
2373
2425
|
}
|
|
2426
|
+
/**
|
|
2427
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2428
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2429
|
+
*
|
|
2430
|
+
* UUID for the request
|
|
2431
|
+
*
|
|
2432
|
+
* UUID for this specific response message.
|
|
2433
|
+
*/
|
|
2374
2434
|
/**
|
|
2375
2435
|
* A response to an open request
|
|
2376
2436
|
*
|
|
@@ -2386,7 +2446,7 @@ export interface OpenAgentResponse {
|
|
|
2386
2446
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2387
2447
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2388
2448
|
*/
|
|
2389
|
-
type:
|
|
2449
|
+
type: "openResponse";
|
|
2390
2450
|
}
|
|
2391
2451
|
/**
|
|
2392
2452
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -2419,7 +2479,7 @@ export interface OpenBridgeErrorResponse {
|
|
|
2419
2479
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2420
2480
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2421
2481
|
*/
|
|
2422
|
-
type:
|
|
2482
|
+
type: "openResponse";
|
|
2423
2483
|
}
|
|
2424
2484
|
/**
|
|
2425
2485
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -2453,7 +2513,7 @@ export interface OpenBridgeRequest {
|
|
|
2453
2513
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2454
2514
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2455
2515
|
*/
|
|
2456
|
-
type:
|
|
2516
|
+
type: "openRequest";
|
|
2457
2517
|
}
|
|
2458
2518
|
/**
|
|
2459
2519
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -2500,7 +2560,7 @@ export interface OpenBridgeResponse {
|
|
|
2500
2560
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2501
2561
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
2502
2562
|
*/
|
|
2503
|
-
type:
|
|
2563
|
+
type: "openResponse";
|
|
2504
2564
|
}
|
|
2505
2565
|
/**
|
|
2506
2566
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -2534,7 +2594,7 @@ export interface PrivateChannelBroadcastAgentRequest {
|
|
|
2534
2594
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2535
2595
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2536
2596
|
*/
|
|
2537
|
-
type:
|
|
2597
|
+
type: "PrivateChannel.broadcast";
|
|
2538
2598
|
}
|
|
2539
2599
|
/**
|
|
2540
2600
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -2636,6 +2696,14 @@ export interface PrivateChannelBroadcastAgentRequestPayload {
|
|
|
2636
2696
|
*/
|
|
2637
2697
|
context: ContextElement;
|
|
2638
2698
|
}
|
|
2699
|
+
/**
|
|
2700
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2701
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2702
|
+
*
|
|
2703
|
+
* UUID for the request
|
|
2704
|
+
*
|
|
2705
|
+
* UUID for this specific response message.
|
|
2706
|
+
*/
|
|
2639
2707
|
/**
|
|
2640
2708
|
* A request to broadcast on a PrivateChannel.
|
|
2641
2709
|
*
|
|
@@ -2651,7 +2719,7 @@ export interface PrivateChannelBroadcastBridgeRequest {
|
|
|
2651
2719
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2652
2720
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2653
2721
|
*/
|
|
2654
|
-
type:
|
|
2722
|
+
type: "PrivateChannel.broadcast";
|
|
2655
2723
|
}
|
|
2656
2724
|
/**
|
|
2657
2725
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -2700,7 +2768,7 @@ export interface PrivateChannelEventListenerAddedAgentRequest {
|
|
|
2700
2768
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2701
2769
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2702
2770
|
*/
|
|
2703
|
-
type:
|
|
2771
|
+
type: "PrivateChannel.eventListenerAdded";
|
|
2704
2772
|
}
|
|
2705
2773
|
/**
|
|
2706
2774
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -2724,10 +2792,24 @@ export interface PrivateChannelEventListenerAddedAgentRequestMeta {
|
|
|
2724
2792
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2725
2793
|
*/
|
|
2726
2794
|
export interface PrivateChannelEventListenerAddedAgentRequestPayload {
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2795
|
+
/**
|
|
2796
|
+
* The id of the PrivateChannel that the event listener was added to.
|
|
2797
|
+
*/
|
|
2798
|
+
channelId: string;
|
|
2799
|
+
listenerType: PrivateChannelEventListenerTypes;
|
|
2730
2800
|
}
|
|
2801
|
+
/**
|
|
2802
|
+
* Event listener type names for Private Channel events
|
|
2803
|
+
*/
|
|
2804
|
+
export declare type PrivateChannelEventListenerTypes = "onAddContextListener" | "onUnsubscribe" | "onDisconnect";
|
|
2805
|
+
/**
|
|
2806
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2807
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2808
|
+
*
|
|
2809
|
+
* UUID for the request
|
|
2810
|
+
*
|
|
2811
|
+
* UUID for this specific response message.
|
|
2812
|
+
*/
|
|
2731
2813
|
/**
|
|
2732
2814
|
* A request to forward on an EventListenerAdded event, relating to a PrivateChannel
|
|
2733
2815
|
*
|
|
@@ -2743,7 +2825,7 @@ export interface PrivateChannelEventListenerAddedBridgeRequest {
|
|
|
2743
2825
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2744
2826
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2745
2827
|
*/
|
|
2746
|
-
type:
|
|
2828
|
+
type: "PrivateChannel.eventListenerAdded";
|
|
2747
2829
|
}
|
|
2748
2830
|
/**
|
|
2749
2831
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -2768,8 +2850,11 @@ export interface PrivateChannelEventListenerAddedBridgeRequestMeta {
|
|
|
2768
2850
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2769
2851
|
*/
|
|
2770
2852
|
export interface PrivateChannelEventListenerAddedBridgeRequestPayload {
|
|
2771
|
-
|
|
2772
|
-
|
|
2853
|
+
/**
|
|
2854
|
+
* The id of the PrivateChannel that the event listener was added to.
|
|
2855
|
+
*/
|
|
2856
|
+
channelId: string;
|
|
2857
|
+
listenerType: PrivateChannelEventListenerTypes;
|
|
2773
2858
|
}
|
|
2774
2859
|
/**
|
|
2775
2860
|
* A request to forward on an EventListenerRemoved event, relating to a PrivateChannel
|
|
@@ -2786,7 +2871,7 @@ export interface PrivateChannelEventListenerRemovedAgentRequest {
|
|
|
2786
2871
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2787
2872
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2788
2873
|
*/
|
|
2789
|
-
type:
|
|
2874
|
+
type: "PrivateChannel.eventListenerRemoved";
|
|
2790
2875
|
}
|
|
2791
2876
|
/**
|
|
2792
2877
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -2810,9 +2895,20 @@ export interface PrivateChannelEventListenerRemovedAgentRequestMeta {
|
|
|
2810
2895
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2811
2896
|
*/
|
|
2812
2897
|
export interface PrivateChannelEventListenerRemovedAgentRequestPayload {
|
|
2813
|
-
|
|
2814
|
-
|
|
2898
|
+
/**
|
|
2899
|
+
* The id of the PrivateChannel that the event listener was removed from.
|
|
2900
|
+
*/
|
|
2901
|
+
channelId: string;
|
|
2902
|
+
listenerType: PrivateChannelEventListenerTypes;
|
|
2815
2903
|
}
|
|
2904
|
+
/**
|
|
2905
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2906
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2907
|
+
*
|
|
2908
|
+
* UUID for the request
|
|
2909
|
+
*
|
|
2910
|
+
* UUID for this specific response message.
|
|
2911
|
+
*/
|
|
2816
2912
|
/**
|
|
2817
2913
|
* A request to forward on an EventListenerRemoved event, relating to a PrivateChannel
|
|
2818
2914
|
*
|
|
@@ -2828,7 +2924,7 @@ export interface PrivateChannelEventListenerRemovedBridgeRequest {
|
|
|
2828
2924
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2829
2925
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2830
2926
|
*/
|
|
2831
|
-
type:
|
|
2927
|
+
type: "PrivateChannel.eventListenerRemoved";
|
|
2832
2928
|
}
|
|
2833
2929
|
/**
|
|
2834
2930
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -2853,8 +2949,11 @@ export interface PrivateChannelEventListenerRemovedBridgeRequestMeta {
|
|
|
2853
2949
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2854
2950
|
*/
|
|
2855
2951
|
export interface PrivateChannelEventListenerRemovedBridgeRequestPayload {
|
|
2856
|
-
|
|
2857
|
-
|
|
2952
|
+
/**
|
|
2953
|
+
* The id of the PrivateChannel that the event listener was removed from.
|
|
2954
|
+
*/
|
|
2955
|
+
channelId: string;
|
|
2956
|
+
listenerType: PrivateChannelEventListenerTypes;
|
|
2858
2957
|
}
|
|
2859
2958
|
/**
|
|
2860
2959
|
* A request to forward on an AddContextListener event, relating to a PrivateChannel
|
|
@@ -2871,7 +2970,7 @@ export interface PrivateChannelOnAddContextListenerAgentRequest {
|
|
|
2871
2970
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2872
2971
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2873
2972
|
*/
|
|
2874
|
-
type:
|
|
2973
|
+
type: "PrivateChannel.onAddContextListener";
|
|
2875
2974
|
}
|
|
2876
2975
|
/**
|
|
2877
2976
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -2895,9 +2994,23 @@ export interface PrivateChannelOnAddContextListenerAgentRequestMeta {
|
|
|
2895
2994
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2896
2995
|
*/
|
|
2897
2996
|
export interface PrivateChannelOnAddContextListenerAgentRequestPayload {
|
|
2898
|
-
|
|
2899
|
-
|
|
2997
|
+
/**
|
|
2998
|
+
* The id of the PrivateChannel that the context listener was added to.
|
|
2999
|
+
*/
|
|
3000
|
+
channelId: string;
|
|
3001
|
+
/**
|
|
3002
|
+
* The type of the context listener added. Should be null for an untyped listener.
|
|
3003
|
+
*/
|
|
3004
|
+
contextType: null | string;
|
|
2900
3005
|
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3008
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3009
|
+
*
|
|
3010
|
+
* UUID for the request
|
|
3011
|
+
*
|
|
3012
|
+
* UUID for this specific response message.
|
|
3013
|
+
*/
|
|
2901
3014
|
/**
|
|
2902
3015
|
* A request to forward on an AddContextListener event, relating to a PrivateChannel
|
|
2903
3016
|
*
|
|
@@ -2913,7 +3026,7 @@ export interface PrivateChannelOnAddContextListenerBridgeRequest {
|
|
|
2913
3026
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2914
3027
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2915
3028
|
*/
|
|
2916
|
-
type:
|
|
3029
|
+
type: "PrivateChannel.onAddContextListener";
|
|
2917
3030
|
}
|
|
2918
3031
|
/**
|
|
2919
3032
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -2938,8 +3051,14 @@ export interface PrivateChannelOnAddContextListenerBridgeRequestMeta {
|
|
|
2938
3051
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2939
3052
|
*/
|
|
2940
3053
|
export interface PrivateChannelOnAddContextListenerBridgeRequestPayload {
|
|
2941
|
-
|
|
2942
|
-
|
|
3054
|
+
/**
|
|
3055
|
+
* The id of the PrivateChannel that the context listener was added to.
|
|
3056
|
+
*/
|
|
3057
|
+
channelId: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* The type of the context listener added. Should be null for an untyped listener.
|
|
3060
|
+
*/
|
|
3061
|
+
contextType: null | string;
|
|
2943
3062
|
}
|
|
2944
3063
|
/**
|
|
2945
3064
|
* A request to forward on a Disconnect event, relating to a PrivateChannel
|
|
@@ -2956,7 +3075,7 @@ export interface PrivateChannelOnDisconnectAgentRequest {
|
|
|
2956
3075
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2957
3076
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2958
3077
|
*/
|
|
2959
|
-
type:
|
|
3078
|
+
type: "PrivateChannel.onDisconnect";
|
|
2960
3079
|
}
|
|
2961
3080
|
/**
|
|
2962
3081
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -2980,8 +3099,19 @@ export interface PrivateChannelOnDisconnectAgentRequestMeta {
|
|
|
2980
3099
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
2981
3100
|
*/
|
|
2982
3101
|
export interface PrivateChannelOnDisconnectAgentRequestPayload {
|
|
2983
|
-
|
|
3102
|
+
/**
|
|
3103
|
+
* The id of the PrivateChannel that the agent discconnected from.
|
|
3104
|
+
*/
|
|
3105
|
+
channelId: string;
|
|
2984
3106
|
}
|
|
3107
|
+
/**
|
|
3108
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3109
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3110
|
+
*
|
|
3111
|
+
* UUID for the request
|
|
3112
|
+
*
|
|
3113
|
+
* UUID for this specific response message.
|
|
3114
|
+
*/
|
|
2985
3115
|
/**
|
|
2986
3116
|
* A request to forward on a Disconnect event, relating to a PrivateChannel
|
|
2987
3117
|
*
|
|
@@ -2997,7 +3127,7 @@ export interface PrivateChannelOnDisconnectBridgeRequest {
|
|
|
2997
3127
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
2998
3128
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
2999
3129
|
*/
|
|
3000
|
-
type:
|
|
3130
|
+
type: "PrivateChannel.onDisconnect";
|
|
3001
3131
|
}
|
|
3002
3132
|
/**
|
|
3003
3133
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -3022,7 +3152,10 @@ export interface PrivateChannelOnDisconnectBridgeRequestMeta {
|
|
|
3022
3152
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
3023
3153
|
*/
|
|
3024
3154
|
export interface PrivateChannelOnDisconnectBridgeRequestPayload {
|
|
3025
|
-
|
|
3155
|
+
/**
|
|
3156
|
+
* The id of the PrivateChannel that the agent discconnected from.
|
|
3157
|
+
*/
|
|
3158
|
+
channelId: string;
|
|
3026
3159
|
}
|
|
3027
3160
|
/**
|
|
3028
3161
|
* A request to forward on an Unsubscribe event, relating to a PrivateChannel
|
|
@@ -3039,7 +3172,7 @@ export interface PrivateChannelOnUnsubscribeAgentRequest {
|
|
|
3039
3172
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3040
3173
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3041
3174
|
*/
|
|
3042
|
-
type:
|
|
3175
|
+
type: "PrivateChannel.onUnsubscribe";
|
|
3043
3176
|
}
|
|
3044
3177
|
/**
|
|
3045
3178
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -3063,9 +3196,24 @@ export interface PrivateChannelOnUnsubscribeAgentRequestMeta {
|
|
|
3063
3196
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
3064
3197
|
*/
|
|
3065
3198
|
export interface PrivateChannelOnUnsubscribeAgentRequestPayload {
|
|
3066
|
-
|
|
3067
|
-
|
|
3199
|
+
/**
|
|
3200
|
+
* The id of the PrivateChannel that the context listener was unsubscribed from.
|
|
3201
|
+
*/
|
|
3202
|
+
channelId: string;
|
|
3203
|
+
/**
|
|
3204
|
+
* The type of the context listener that was unsubscribed. Should be null for an untyped
|
|
3205
|
+
* listener.
|
|
3206
|
+
*/
|
|
3207
|
+
contextType: null | string;
|
|
3068
3208
|
}
|
|
3209
|
+
/**
|
|
3210
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3211
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3212
|
+
*
|
|
3213
|
+
* UUID for the request
|
|
3214
|
+
*
|
|
3215
|
+
* UUID for this specific response message.
|
|
3216
|
+
*/
|
|
3069
3217
|
/**
|
|
3070
3218
|
* A request to forward on an Unsubscribe event, relating to a PrivateChannel
|
|
3071
3219
|
*
|
|
@@ -3081,7 +3229,7 @@ export interface PrivateChannelOnUnsubscribeBridgeRequest {
|
|
|
3081
3229
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3082
3230
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3083
3231
|
*/
|
|
3084
|
-
type:
|
|
3232
|
+
type: "PrivateChannel.onUnsubscribe";
|
|
3085
3233
|
}
|
|
3086
3234
|
/**
|
|
3087
3235
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -3106,8 +3254,15 @@ export interface ERequestMetadata {
|
|
|
3106
3254
|
* The message payload typically contains the arguments to FDC3 API functions.
|
|
3107
3255
|
*/
|
|
3108
3256
|
export interface PrivateChannelOnUnsubscribeBridgeRequestPayload {
|
|
3109
|
-
|
|
3110
|
-
|
|
3257
|
+
/**
|
|
3258
|
+
* The id of the PrivateChannel that the context listener was unsubscribed from.
|
|
3259
|
+
*/
|
|
3260
|
+
channelId: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* The type of the context listener that was unsubscribed. Should be null for an untyped
|
|
3263
|
+
* listener.
|
|
3264
|
+
*/
|
|
3265
|
+
contextType: null | string;
|
|
3111
3266
|
}
|
|
3112
3267
|
/**
|
|
3113
3268
|
* A response to a request to raise an intent that contains an error.
|
|
@@ -3125,7 +3280,7 @@ export interface RaiseIntentAgentErrorResponse {
|
|
|
3125
3280
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3126
3281
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3127
3282
|
*/
|
|
3128
|
-
type:
|
|
3283
|
+
type: "raiseIntentResponse";
|
|
3129
3284
|
}
|
|
3130
3285
|
/**
|
|
3131
3286
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -3141,6 +3296,14 @@ export interface RaiseIntentAgentErrorResponseMeta {
|
|
|
3141
3296
|
export interface RaiseIntentAgentErrorResponsePayload {
|
|
3142
3297
|
error: ErrorMessage;
|
|
3143
3298
|
}
|
|
3299
|
+
/**
|
|
3300
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3301
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3302
|
+
*
|
|
3303
|
+
* UUID for the request
|
|
3304
|
+
*
|
|
3305
|
+
* UUID for this specific response message.
|
|
3306
|
+
*/
|
|
3144
3307
|
/**
|
|
3145
3308
|
* A request to raise an intent.
|
|
3146
3309
|
*
|
|
@@ -3156,7 +3319,7 @@ export interface RaiseIntentAgentRequest {
|
|
|
3156
3319
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3157
3320
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3158
3321
|
*/
|
|
3159
|
-
type:
|
|
3322
|
+
type: "raiseIntentRequest";
|
|
3160
3323
|
}
|
|
3161
3324
|
/**
|
|
3162
3325
|
* Metadata for a request message sent by Desktop Agents to the Bridge.
|
|
@@ -3184,6 +3347,14 @@ export interface RaiseIntentAgentRequestPayload {
|
|
|
3184
3347
|
context: ContextElement;
|
|
3185
3348
|
intent: string;
|
|
3186
3349
|
}
|
|
3350
|
+
/**
|
|
3351
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3352
|
+
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3353
|
+
*
|
|
3354
|
+
* UUID for the request
|
|
3355
|
+
*
|
|
3356
|
+
* UUID for this specific response message.
|
|
3357
|
+
*/
|
|
3187
3358
|
/**
|
|
3188
3359
|
* A response to a request to raise an intent.
|
|
3189
3360
|
*
|
|
@@ -3199,7 +3370,7 @@ export interface RaiseIntentAgentResponse {
|
|
|
3199
3370
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3200
3371
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3201
3372
|
*/
|
|
3202
|
-
type:
|
|
3373
|
+
type: "raiseIntentResponse";
|
|
3203
3374
|
}
|
|
3204
3375
|
/**
|
|
3205
3376
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -3275,7 +3446,7 @@ export interface RaiseIntentBridgeErrorResponse {
|
|
|
3275
3446
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3276
3447
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3277
3448
|
*/
|
|
3278
|
-
type:
|
|
3449
|
+
type: "raiseIntentResponse";
|
|
3279
3450
|
}
|
|
3280
3451
|
/**
|
|
3281
3452
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -3309,7 +3480,7 @@ export interface RaiseIntentBridgeRequest {
|
|
|
3309
3480
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3310
3481
|
* the message relates to, e.g. 'findIntent', with 'Request' appended.
|
|
3311
3482
|
*/
|
|
3312
|
-
type:
|
|
3483
|
+
type: "raiseIntentRequest";
|
|
3313
3484
|
}
|
|
3314
3485
|
/**
|
|
3315
3486
|
* Metadata required in a request message forwarded on by the Bridge
|
|
@@ -3354,7 +3525,7 @@ export interface RaiseIntentBridgeResponse {
|
|
|
3354
3525
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3355
3526
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3356
3527
|
*/
|
|
3357
|
-
type:
|
|
3528
|
+
type: "raiseIntentResponse";
|
|
3358
3529
|
}
|
|
3359
3530
|
/**
|
|
3360
3531
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -3390,7 +3561,7 @@ export interface RaiseIntentResultAgentErrorResponse {
|
|
|
3390
3561
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3391
3562
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3392
3563
|
*/
|
|
3393
|
-
type:
|
|
3564
|
+
type: "raiseIntentResultResponse";
|
|
3394
3565
|
}
|
|
3395
3566
|
/**
|
|
3396
3567
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -3418,14 +3589,15 @@ export interface RaiseIntentResultAgentErrorResponsePayload {
|
|
|
3418
3589
|
* `findIntentsByContext`, `raiseIntent` or `raiseIntentForContext` methods on the
|
|
3419
3590
|
* DesktopAgent (`fdc3`).
|
|
3420
3591
|
*/
|
|
3421
|
-
export declare
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3592
|
+
export declare type RaiseIntentResultErrorMessage = "IntentHandlerRejected" | "NoResultReturned" | "AgentDisconnected" | "NotConnectedToBridge" | "ResponseToBridgeTimedOut" | "MalformedMessage";
|
|
3593
|
+
/**
|
|
3594
|
+
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3595
|
+
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3596
|
+
*
|
|
3597
|
+
* UUID for the request
|
|
3598
|
+
*
|
|
3599
|
+
* UUID for this specific response message.
|
|
3600
|
+
*/
|
|
3429
3601
|
/**
|
|
3430
3602
|
* A secondary response to a request to raise an intent used to deliver the intent result
|
|
3431
3603
|
*
|
|
@@ -3441,7 +3613,7 @@ export interface RaiseIntentResultAgentResponse {
|
|
|
3441
3613
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3442
3614
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3443
3615
|
*/
|
|
3444
|
-
type:
|
|
3616
|
+
type: "raiseIntentResultResponse";
|
|
3445
3617
|
}
|
|
3446
3618
|
/**
|
|
3447
3619
|
* Metadata for a response messages sent by a Desktop Agent to the Bridge
|
|
@@ -3522,11 +3694,7 @@ export interface DisplayMetadata {
|
|
|
3522
3694
|
* Uniquely defines each channel type.
|
|
3523
3695
|
* Can be "user", "app" or "private".
|
|
3524
3696
|
*/
|
|
3525
|
-
export declare
|
|
3526
|
-
App = "app",
|
|
3527
|
-
Private = "private",
|
|
3528
|
-
User = "user"
|
|
3529
|
-
}
|
|
3697
|
+
export declare type Type = "app" | "private" | "user";
|
|
3530
3698
|
/**
|
|
3531
3699
|
* A secondary response to a request to raise an intent used to deliver the intent result,
|
|
3532
3700
|
* which contains an error
|
|
@@ -3545,7 +3713,7 @@ export interface RaiseIntentResultBridgeErrorResponse {
|
|
|
3545
3713
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3546
3714
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3547
3715
|
*/
|
|
3548
|
-
type:
|
|
3716
|
+
type: "raiseIntentResultResponse";
|
|
3549
3717
|
}
|
|
3550
3718
|
/**
|
|
3551
3719
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -3580,7 +3748,7 @@ export interface RaiseIntentResultBridgeResponse {
|
|
|
3580
3748
|
* Identifies the type of the message and it is typically set to the FDC3 function name that
|
|
3581
3749
|
* the message relates to, e.g. 'findIntent', with 'Response' appended.
|
|
3582
3750
|
*/
|
|
3583
|
-
type:
|
|
3751
|
+
type: "raiseIntentResultResponse";
|
|
3584
3752
|
}
|
|
3585
3753
|
/**
|
|
3586
3754
|
* Metadata required in a response message collated and/or forwarded on by the Bridge
|
|
@@ -3599,19 +3767,64 @@ export interface RaiseIntentResultBridgeResponseMeta {
|
|
|
3599
3767
|
export interface RaiseIntentResultBridgeResponsePayload {
|
|
3600
3768
|
intentResult: IntentResult;
|
|
3601
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
* The `fdc3.context` type defines the basic contract or "shape" for all data exchanged by
|
|
3772
|
+
* FDC3 operations. As such, it is not really meant to be used on its own, but is imported
|
|
3773
|
+
* by more specific type definitions (standardized or custom) to provide the structure and
|
|
3774
|
+
* properties shared by all FDC3 context data types.
|
|
3775
|
+
*
|
|
3776
|
+
* The key element of FDC3 context types is their mandatory `type` property, which is used
|
|
3777
|
+
* to identify what type of data the object represents, and what shape it has.
|
|
3778
|
+
*
|
|
3779
|
+
* The FDC3 context type, and all derived types, define the minimum set of fields a context
|
|
3780
|
+
* data object of a particular type can be expected to have, but this can always be extended
|
|
3781
|
+
* with custom fields as appropriate.
|
|
3782
|
+
*/
|
|
3602
3783
|
export interface Context {
|
|
3784
|
+
/**
|
|
3785
|
+
* Context data objects may include a set of equivalent key-value pairs that can be used to
|
|
3786
|
+
* help applications identify and look up the context type they receive in their own domain.
|
|
3787
|
+
* The idea behind this design is that applications can provide as many equivalent
|
|
3788
|
+
* identifiers to a target application as possible, e.g. an instrument may be represented by
|
|
3789
|
+
* an ISIN, CUSIP or Bloomberg identifier.
|
|
3790
|
+
*
|
|
3791
|
+
* Identifiers do not make sense for all types of data, so the `id` property is therefore
|
|
3792
|
+
* optional, but some derived types may choose to require at least one identifier.
|
|
3793
|
+
* Identifier values SHOULD always be of type string.
|
|
3794
|
+
*/
|
|
3603
3795
|
id?: {
|
|
3604
3796
|
[key: string]: any;
|
|
3605
3797
|
};
|
|
3798
|
+
/**
|
|
3799
|
+
* Context data objects may include a name property that can be used for more information,
|
|
3800
|
+
* or display purposes. Some derived types may require the name object as mandatory,
|
|
3801
|
+
* depending on use case.
|
|
3802
|
+
*/
|
|
3606
3803
|
name?: string;
|
|
3804
|
+
/**
|
|
3805
|
+
* The type property is the only _required_ part of the FDC3 context data schema. The FDC3
|
|
3806
|
+
* [API](https://fdc3.finos.org/docs/api/spec) relies on the `type` property being present
|
|
3807
|
+
* to route shared context data appropriately.
|
|
3808
|
+
*
|
|
3809
|
+
* FDC3 [Intents](https://fdc3.finos.org/docs/intents/spec) also register the context data
|
|
3810
|
+
* types they support in an FDC3 [App
|
|
3811
|
+
* Directory](https://fdc3.finos.org/docs/app-directory/overview), used for intent discovery
|
|
3812
|
+
* and routing.
|
|
3813
|
+
*
|
|
3814
|
+
* Standardized FDC3 context types have well-known `type` properties prefixed with the
|
|
3815
|
+
* `fdc3` namespace, e.g. `fdc3.instrument`. For non-standard types, e.g. those defined and
|
|
3816
|
+
* used by a particular organization, the convention is to prefix them with an
|
|
3817
|
+
* organization-specific namespace, e.g. `blackrock.fund`.
|
|
3818
|
+
*
|
|
3819
|
+
* See the [Context Data Specification](https://fdc3.finos.org/docs/context/spec) for more
|
|
3820
|
+
* information about context data types.
|
|
3821
|
+
*/
|
|
3607
3822
|
type: string;
|
|
3608
3823
|
[property: string]: any;
|
|
3609
3824
|
}
|
|
3610
3825
|
export declare class Convert {
|
|
3611
|
-
static
|
|
3612
|
-
static
|
|
3613
|
-
static toBaseImplementationMetadata(json: string): BaseImplementationMetadata;
|
|
3614
|
-
static baseImplementationMetadataToJson(value: BaseImplementationMetadata): string;
|
|
3826
|
+
static toFDC3DesktopAgentAPISchema(json: string): any;
|
|
3827
|
+
static fDC3DesktopAgentAPISchemaToJson(value: any): string;
|
|
3615
3828
|
static toAgentErrorResponseMessage(json: string): AgentErrorResponseMessage;
|
|
3616
3829
|
static agentErrorResponseMessageToJson(value: AgentErrorResponseMessage): string;
|
|
3617
3830
|
static toAgentRequestMessage(json: string): AgentRequestMessage;
|